Skip to content

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

Merged
nfebe merged 2 commits into
stable32from
backport/56977/stable32
Dec 19, 2025
Merged

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

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/stable32 branch from 6bc3e97 to c711531CompareDecember 18, 2025 10:22
@nfebe
nfebe marked this pull request as ready for review December 18, 2025 10:22
@nfebe
nfebe requested a review from a team as a code ownerDecember 18, 2025 10:22

@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 de68fbf into stable32Dec 19, 2025
175 of 189 checks passed
@nfebe
nfebe deleted the backport/56977/stable32 branch December 19, 2025 13:29
@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