Skip to content

fix(files_sharing): Normalize dir type to folder for federated shares - #56977

Merged
nfebe merged 2 commits into
masterfrom
fix/federated-share-display-in-shared-with-you
Dec 11, 2025
Merged

fix(files_sharing): Normalize dir type to folder for federated shares#56977
nfebe merged 2 commits into
masterfrom
fix/federated-share-display-in-shared-with-you

Conversation

@nfebe

Copy link
Copy Markdown
Contributor

The backend returns type 'dir' for folders (from FileInfo::TYPE_FOLDER), but the frontend expects 'folder'. This mismatch caused federated shared folders to display incorrectly as files in the "Shared with you" view.

@nfebe
nfebe requested a review from a team as a code ownerDecember 10, 2025 20:18
@nfebenfebe added the 3. to review Waiting for reviews label Dec 10, 2025
@github-project-automationgithub-project-automationBot moved this to 🏗️ In progress in 📁 Files teamDec 10, 2025
The backend returns type 'dir' for folders (from FileInfo::TYPE_FOLDER),
but the frontend expects 'folder'. This mismatch caused federated shared
folders to display incorrectly as files in the "Shared with you" view.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
@nfebe
nfebeforce-pushed the fix/federated-share-display-in-shared-with-you branch from 0c2df7f to 13df658CompareDecember 11, 2025 09:49
@nfebe

Copy link
Copy Markdown
ContributorAuthor

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nfebe
nfebe merged commit d15feb4 into masterDec 11, 2025
124 checks passed
@nfebe
nfebe deleted the fix/federated-share-display-in-shared-with-you branch December 11, 2025 10:31
@nfebe

Copy link
Copy Markdown
ContributorAuthor

/backport to stable32

@nfebe

Copy link
Copy Markdown
ContributorAuthor

/backport to stable31

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsfeature: sharing

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

4 participants

@nfebe@susnux@skjnldsv@nextcloud-command