Skip to content

fix: public space list errors, avoid 5xx on already exists - #264

Merged
mklos-kw merged 1 commit into
mainfrom
feat/share-error
Apr 23, 2025
Merged

mklos-kw merged 1 commit into
mainfrom
feat/share-error

Conversation

@mklos-kw

@mklos-kw mklos-kw commented Apr 17, 2025 •

Copy link
Copy Markdown
Member

Changes to allow detect the AlreadyExist error on ocis side gracefully and not block whole members list with an error (5XX).

oCIS PR: owncloud/ocis#11245

@mklos-kw
mklos-kw force-pushed the feat/share-error branch 3 times, most recently from 482a8a4 to 13c25fd Compare April 23, 2025 06:30
@mklos-kw
mklos-kw marked this pull request as ready for review April 23, 2025 07:30
@mklos-kw
mklos-kw requested a review from kobergj April 23, 2025 07:31
@mklos-kw mklos-kw changed the title fix: pass space list errors, avoid 5xx on already exists fix: public space list errors, avoid 5xx on already exists Apr 23, 2025
@mklos-kw
mklos-kw merged commit c1d09dc into main Apr 23, 2025
butonic added a commit to opencloud-eu/opencloud that referenced this pull request Nov 13, 2026
When the public share manager cannot access its metadata space, e.g.
after an upgrade, listing public shares fails with an already exists
error and the whole permissions request ended in a 500. The space
members dialog in web then just keeps spinning.

We now log a warning, skip the link permissions and still return the
user and space permissions.

Our reva currently replaces the original error with a generic "error
listing public shares", so this only takes effect together with the
port of `owncloud/reva#264`, which passes the error message through.

ported from `owncloud/ocis#11245`

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants