Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use fallbacks for concept labels with en-US, en, and without language… #3808

Merged
merged 1 commit into from Jan 24, 2023

Conversation

litvinovg
Copy link
Collaborator

What does this pull request do?

If concept doesn't have label with language tag it can't be used in capability map.
This is a fix for capability map regression from i18n sprint.

What's new?

Use fallbacks for concept labels with en-US, en, and without language tag in visualization caches.

How should this be tested?

  • Use a concept with label without language tag.
  • Search for concept in capability map.
  • Concept should be shown on the map.

Interested parties

@chenejac @bkampe

@litvinovg litvinovg changed the base branch from i18n-redesign to main January 13, 2023 15:00
Copy link
Contributor

@chenejac chenejac left a comment

Choose a reason for hiding this comment

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

@litvinovg thanks

Copy link
Member

@brianjlowe brianjlowe left a comment

Choose a reason for hiding this comment

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

Works. Unrelated to this PR, but potentially of interest for anyone else who wants to test this: After adding my concept with language tag-less label, I had to restart VIVO before it appeared in the capability map interface. "Rebuild visualization cache" didn't make a difference, and indeed claimed that no cached data yet existed.

@brianjlowe brianjlowe merged commit 05878a8 into vivo-project:main Jan 24, 2023
ghost pushed a commit that referenced this pull request Feb 23, 2023
… tag in visualization caches (#3808)

Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
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.

None yet

3 participants