Skip to content

Bug #14503 #867

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

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Bug #14503 #867

merged 1 commit into from
Nov 13, 2024

Conversation

mmoqui
Copy link
Member

@mmoqui mmoqui commented Nov 5, 2024

By testing the fix of the bug, I discovered a nasty hidden bug in js when adding a new translation for a given topic: when the properties of a topic is rendered, an HTML select element is updated with the translations of the node's properties. If we ask to see the properties of a topic for which its name and description were translated for all of the supported languages, the HTML select element is correctly updated. But, if after we ask to see the properties of another topic for which a translation is missed, then the HTML select element isn't correctly updated for the missed translation: instead of having for the missing translation an identifier of -1, it kept the id of the translation of the previous selected topic for the same language.

Fix this bug.

Related to the PR Silverpeas/Silverpeas-Core#1361

By testing the fix of the bug, I discovered a nasty hidden bug in js
when adding a new translation for a given topic: when the properties of a
topic is rendered, an HTML select element is updated with the
translations of the node's properties. If we ask to see the properties
of a topic for which its name and description were translated for all of
the supported languages, the HTML select element is correctly updated.
But, if after we ask to see the properties of another topic for which a
translation is missed, then the HTML select element isn't correctly
updated for the missed translation: instead of having for the missing
translation an identifier of -1, it kept the id of the translation of
the previous selected topic for the same language.

Fix this bug.
Copy link

sonarqubecloud bot commented Nov 5, 2024

@mmoqui mmoqui merged commit efd66d5 into 6.4.x Nov 13, 2024
2 checks passed
@mmoqui mmoqui deleted the bug-14503 branch November 25, 2024 14:04
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