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

Fix error that would occur when there were duplicate languages. #7275

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

ianwallen
Copy link
Contributor

Fix issue that would occur on metadata that had duplication languages.

image

Also the following would end up empty.
image

Copy link
Member

@josegar74 josegar74 left a comment

Choose a reason for hiding this comment

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

Test case:

  1. Create an iso19139 multilingual metadata

  2. Without the fix the error described occurs and no metadata language displayed in the metadata page.

  3. With the fix, no error occurs and the metadata languages are displayed.

Seems related to the main metadata language, being part of the locales section.

@josegar74 josegar74 merged commit 10ed271 into geonetwork:main Aug 18, 2023
6 checks passed
josegar74 pushed a commit that referenced this pull request Aug 18, 2023
@ianwallen ianwallen deleted the fix_dup_language branch November 30, 2023 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants