Skip to content

fix: keep real name of spaces marked as favorite - #267

Merged
diocas merged 2 commits into
cernboxfrom
dev-arthur
Sep 17, 2026
Merged

diocas merged 2 commits into
cernboxfrom
dev-arthur

Conversation

@arthurarabelo

@arthurarabelo arthurarabelo commented Sep 14, 2026 •

Copy link
Copy Markdown

https://its.cern.ch/jira/browse/CERNBOX-4407

The basename of a space marked as favorite is its own id, so the solution is to keep using the resource name in this case.

buildResource preferred resource.basename, introduced in b1cdbb3 to fix the .0 removal.

The basename of a space marked as favorite is its id, so the solution is to keep using the resource name in this case.

buildResource preferred resource.basename, introduced in b1cdbb3 to fix the .0 removal. To also treat this case, the coercion is checked comparing the basename number and the name. If the coercion occurs, basename is used.
Drop the restoreParsedName solution and update webdav to 5.9.0, which released WebDAVTagParser type and allows the parser to skip value coercion for the props name and trashbin-original-filename.
@diocas
diocas changed the base branch from dev to cernbox September 17, 2026 13:06
@diocas
diocas merged commit 2f78b11 into cernbox Sep 17, 2026
@diocas
diocas deleted the dev-arthur branch September 17, 2026 13:06
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