- Issue created by @phma
- 🇩🇪Germany sleitner
I can confirm that the changed language name label is reset to the original as soon as the weight of the language is changed.
- 🇬🇧United Kingdom andreastkdf
I can also confirm the issue when doing the steps to reproduce. I had a first quick look; when debugging the values of the language entity on the language form, the label of the language is the correct one; when debugging on the overview admin page form, the label printed on dpm during debug is translated; when saving it overrides the original value. Something to do with the form build?
- 🇬🇧United Kingdom andreastkdf
Pushed a temporary fix on the fork that enforces keeping the native label as the label of the language. I will open a new issue, as this is the result of a broader issue with DraggableListBuilder.php
DraggableListBuilder.php is loading the entities override-free, which is correct for saving but not for viewing. The issue described here happens on any draggable list. (this specific issue is the other way around, if that makes sense).
- 🇬🇧United Kingdom andreastkdf
Openned new issue: for broader problem: https://www.drupal.org/project/drupal/issues/3417472 🐛 Multiple language site: changing the language weight saves wrong configuration Active
- Status changed to Needs work
7 months ago 3:34pm 27 January 2024 - Merge request !6354Draft: Issue #3380392 by phma: Updating language weight from the overview reverts label if translated → (Open) created by andreastkdf