Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable29] fix(files_external): Catch correct exception #48364

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Sep 26, 2024

Backport of PR #48345

SMB#getFileInfo used to throw an icewind/smb exception, but nowadays throws \OCP\Files\ForbiddenException. This fixes downstream methods to catch the new exception.

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
@backportbot backportbot bot added bug 3. to review Waiting for reviews labels Sep 26, 2024
@backportbot backportbot bot added this to the Nextcloud 29.0.8 milestone Sep 26, 2024
@kesselb kesselb enabled auto-merge September 26, 2024 12:43
@kesselb kesselb merged commit 56a734b into stable29 Sep 26, 2024
180 checks passed
@kesselb kesselb deleted the backport/48345/stable29 branch September 26, 2024 12:52
@Altahrim Altahrim mentioned this pull request Oct 1, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants