Skip to content

[stable30] fix(share): Avoid crash when share owner is not found - #62980

Draft
backportbot[bot] wants to merge 1 commit into
stable30from
backport/62798/stable30
Draft

[stable30] fix(share): Avoid crash when share owner is not found#62980
backportbot[bot] wants to merge 1 commit into
stable30from
backport/62798/stable30

Conversation

@backportbot

@backportbot backportbot Bot commented Aug 6, 2026

Copy link
Copy Markdown

Backport of #62791

@backportbot backportbot Bot added bug 3. to review Waiting for reviews labels Aug 6, 2026
IShare::getNode is documented to throw only NotFoundException, so catch
 UserNotFoundException from the level below and wrap it. This avoids
 crashes from share api controller when listing shares and one of them
 is broken because its owner has vanished from the backend.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc
come-nc force-pushed the backport/62798/stable30 branch from 7b3b40f to 99d6390 Compare August 6, 2026 15:35
@come-nc come-nc changed the title [stable30] [stable34] fix(share): Avoid crash when share owner is not found [stable30] fix(share): Avoid crash when share owner is not found Aug 6, 2026
@come-nc come-nc self-assigned this Aug 6, 2026
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.

1 participant