Skip to content

[stable31] fix(files_sharing): Normalize dir type to folder for federated shares - #57002

Merged
nfebe merged 2 commits into
stable31from
backport/56977/stable31
Dec 18, 2025
Merged

[stable31] fix(files_sharing): Normalize dir type to folder for federated shares#57002
nfebe merged 2 commits into
stable31from
backport/56977/stable31

Conversation

@backportbot

@backportbotbackportbotBot commented Dec 11, 2025

Copy link
Copy Markdown

Backport of #56977

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

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 backport/56977/stable31 branch from 2c938fa to a951010CompareDecember 18, 2025 10:26
@nfebe
nfebe marked this pull request as ready for review December 18, 2025 10:26
@nfebe
nfebe enabled auto-merge December 18, 2025 10:26

@szaimenszaimen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

@nfebe

Copy link
Copy Markdown
Contributor

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nfebe
nfebe merged commit ec3aa18 into stable31Dec 18, 2025
134 of 141 checks passed
@nfebe
nfebe deleted the backport/56977/stable31 branch December 18, 2025 16:39
@nextcloud-botnextcloud-bot mentioned this pull request Jan 7, 2026
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

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@nfebe@szaimen@nextcloud-command