Skip to content

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

Merged
AndyScherzinger merged 1 commit into
stable33from
backport/62798/stable33
Aug 6, 2026
Merged

[stable33] fix(share): Avoid crash when share owner is not found#62960
AndyScherzinger merged 1 commit into
stable33from
backport/62798/stable33

Conversation

@backportbot

@backportbot backportbot Bot commented Aug 6, 2026

Copy link
Copy Markdown

Backport of PR #62798

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>
@backportbot
backportbot Bot requested a review from a team as a code owner August 6, 2026 07:07
@backportbot
backportbot Bot requested review from Altahrim, AndyScherzinger, come-nc, leftybournes, provokateurin and salmart-dev and removed request for a team August 6, 2026 07:07
@backportbot backportbot Bot added bug 3. to review Waiting for reviews labels Aug 6, 2026
@backportbot backportbot Bot added this to the Nextcloud 33.0.8 milestone Aug 6, 2026
@github-actions github-actions Bot changed the title [stable33] [stable34] fix(share): Avoid crash when share owner is not found [stable33] fix(share): Avoid crash when share owner is not found Aug 6, 2026
@AndyScherzinger
AndyScherzinger merged commit cce3dfd into stable33 Aug 6, 2026
170 of 180 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/62798/stable33 branch August 6, 2026 09:25
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