[MGNLUI-4115] Prevent two-time validation at dialogs Created: 10/Jan/17  Updated: 08/Mar/21  Resolved: 08/Mar/21

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

Type: Improvement Priority: Major
Reporter: Zdenek Skodik Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relation
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

At the moment we execute a validator twice, the second validation is being done by info.magnolia.ui.dialog.actionarea.renderer.DefaultEditorActionRenderer that checks the validity for the sake of re-enabling commit/save button in order to prevent multiple savings.

Also the validation is being done for each language.

All this can be quite an expensive operation, especially if you have a validator doing remote calls.


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