[MGNLUI-6830] No visual feedback on field validation of default language when dialog/form is showing another language Created: 20/Aug/21  Updated: 09/Nov/21  Resolved: 04/Oct/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.12
Fix Version/s: 6.2.13

Type: Bug Priority: Neutral
Reporter: Simon Lutz Assignee: Milan Divilek
Resolution: Fixed Votes: 1
Labels: VN-Testing, maintenance, ui-bug-selected, ui-team-support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File No Feedback.mov    
Issue Links:
Relates
relates to MGNLUI-6880 Cannot save dialogs in another langua... Closed
relates to MGNLUI-6842 Validation messages are not displayed... Closed
causality
duplicate
is duplicated by MGNLUI-6751 Validation doesn't focus/switch to af... Closed
is duplicated by MGNLUI-6918 Switchable Field i18n validation error Closed
relation
is related to BLOSSOM-283 Validation on i18n switchable field Accepted
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
[X]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:
Epic Link: Migrate apps to new UI framework
Sprint: UI FW 37, UI FW 38
Story Points: 5

 Description   

Steps to reproduce

  • In travel demo, add a tour
  • Do not fill fields for English (default language)
  • Switch language to German
  • Fill required fields
  • Save
  • Same behavior for any i18n component with required fields

Expected results

  • As the required fields of the default language are not filled, the user should get related feedback
  • Switch to language / tab where the first validation error is found and show it

Actual results

  • Dialog cannot be saved - there is no visual feedback why
  • See video: No Feedback.mov

Workaround

Development notes



 Comments   
Comment by Roman Kovařík [ 23/Aug/21 ]

There is a PoC with a fix linked to the duplicate https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/pull-requests/1816/diff#magnolia-ui-framework/src/main/java/info/magnolia/ui/editor/FormPresenter.java.

Generated at Mon Feb 12 09:40:25 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.