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

[stable28] fix(files_external): Catch correct exception #48363

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 <[email protected]>
@backportbot backportbot bot added bug 3. to review Waiting for reviews labels Sep 26, 2024
@backportbot backportbot bot added this to the Nextcloud 28.0.11 milestone Sep 26, 2024
@kesselb kesselb merged commit cde0674 into stable28 Sep 26, 2024
68 checks passed
@kesselb kesselb deleted the backport/48345/stable28 branch September 26, 2024 12:41
@Altahrim Altahrim mentioned this pull request Oct 1, 2024
2 tasks
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