[MGNLUI-6833] Default values on internationalized fields not appearing on dialog in non-default languages Created: 23/Aug/21 Updated: 16/Nov/21 Resolved: 15/Nov/21 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | dialogs, forms |
| Affects Version/s: | 6.2.10, 6.2.11, 6.2.12 |
| Fix Version/s: | 6.2.14 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Roberto Gaona | Assignee: | Roman Kovařík |
| Resolution: | Fixed | Votes: | 9 |
| Labels: | cs-bk, maintenance, ui-team-support | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||
| Template: | |||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||||||
| Bug DoR: |
[X]*
Steps to reproduce, expected, and actual results filled
[X]*
Affected version filled
|
||||||||||||||||||||||||
| Release notes required: |
Yes
|
||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||
| Sprint: | UI Maintenance 1 | ||||||||||||||||||||||||
| Story Points: | 5 | ||||||||||||||||||||||||
| Description |
Steps to reproduce.. Logs, screenshots, gifs... Expected results.. Justify non-trivial expectations with a link to a doc or a relevant discussion. Actual resultsWorkaroundDevelopment notes |
| Comments |
| Comment by Vivian Steller [ 26/Oct/21 ] |
|
Also affects 6.2.12 Very serious issue!! |
| Comment by Jens Kolb [ 27/Oct/21 ] |
|
@Magnolia: Please add 6.2.12 as affected version as well. |
| Comment by Bradley Andersen [ 27/Oct/21 ] |
|
|
| Comment by Vivian Steller [ 27/Oct/21 ] |
|
Hi @Bradley, more importantly this also affects *non-i18n'ed properties*. Effectively this blocks us and customer projects from Updating to 6.2.12. IMHO this issue's priority should be raised to BLOCKER. Thanks and best regards, Vivian |
| Comment by Roman Kovařík [ 03/Nov/21 ] |
|
For developers: |
| Comment by fabian schneider [ 03/Nov/21 ] |
|
@rkovarik For multilingual fields, it is not enough to just select the current language in the presenter. In this case, if you don't change to a language, no default values are set there either. Also it needs a change in `info.magnolia.ui.editor.FormView#applyDefaults` to trigger the setting of the defaults also for switchable fields in all languages. Here are my changes: https://git.magnolia-cms.com/users/vivi/repos/ui/commits/f09f2baf71cf68f36f8e5124a87d2b0ceb3aee48 You suggested a field `applyDefaults=true`. In which case should this be set and evaluated? |
| Comment by Roman Kovařík [ 03/Nov/21 ] |
|
Hey fschneider, I don't have access to your fork but I meant something like this. Roman |
| Comment by Adam Siska [ 16/Nov/21 ] |
|
For RN: Configured default values are prefilled into fields for all languages/locales. |