[MGNLUI-6913] UploadView doesn't show validator's message on error Created: 13/Oct/21  Updated: 14/Oct/21  Resolved: 14/Oct/21

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

Type: Bug Priority: Neutral
Reporter: Quach Hao Thien Assignee: Quach Hao Thien
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2021-10-13-10-05-45-935.png     PNG File image-2021-10-13-10-06-32-176.png    
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:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: Ext DAMs maintenance & partnership support
Sprint: Content Mngmt 14
Story Points: 1

 Description   

Steps to reproduce

  1.  Create a custom File validator (e.g check file without extension) and apply this validator for an UploadView field
  2.  Try to upload a file which is invalid, basing on rule of the validator (e.g upload file without extension)
  3. Observe the error message display, it always show "This field is required."

Expected results

Actual results

Workaround

Development notes


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