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

[stable30] fix(files_external): Catch correct exception #48365

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 30.0.1 milestone Sep 26, 2024
@kesselb kesselb merged commit e4a5643 into stable30 Sep 26, 2024
173 checks passed
@kesselb kesselb deleted the backport/48345/stable30 branch September 26, 2024 12:39
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