[MGNLUI-4972] New UI Framework: Code field that is marked as required is not validated on save Created: 22/Jan/19  Updated: 05/Mar/21  Resolved: 05/Mar/21

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

Type: Bug Priority: Neutral
Reporter: Andrei Ichimescu Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
is duplicated by MGNLUI-6562 codeField ignoring required property Closed
is duplicated by MGNLUI-4975 Make sure required code fields are va... Closed
relation
is related to MGNLUI-4230 Code field that is marked as required... Closed
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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: Support for required property

 Description   

This issue affects the new UI framework. For the compatibility UI framework please check: MGNLUI-4230

In the old (and compatibility) framework, required code fields could still be saved when empty due to bad validation (see linked issue). Check if this problem is also present in the new framework and fix (or port the old fix) if applicable.

Acceptance criteria:

Saving a form with a required code field that's empty should fail with a corresponding error message on that field

Essesnce

  • one just needs to verify that the fix for the compatibility framework (linked ticket) still holds for the updated version.


 Comments   
Comment by Andrei Ichimescu [ 22/Jan/19 ]

same as MGNLUI-4230 but only applies to the new ui framework

Comment by Andrei Ichimescu [ 20/Feb/19 ]

Can be tested by creating a new codeField and then loosing focus; no need for a 'commit' button.

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