Skip to content

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

Open
arthurarabelo wants to merge 1 commit into
devfrom
dev-arthur
Open

arthurarabelo wants to merge 1 commit into
devfrom
dev-arthur

Conversation

@arthurarabelo

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. To also treat this case, the coercion is checked comparing the basename number and the name. If the coercion occurs, basename is used.

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.
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.

1 participant