Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
2.7.3
-
Empty show more show less
-
Yes
-
Yes
-
AuthX 9
-
2
Description
Steps to reproduce
- Configure the formFile component to have a mandatory boolean property. Like formEdit.
- Add the formFile component to any formulary with the new property set to true
- Trying to submit the form, either with a file attached or not, will result on an error taking place.
Expected results
The form can't be submitted only if the file is not attached.
Actual results
The form can't be submitted wether the file is attached or not.
Workaround
Development notes
The check seems to take place here:
The validation doesn't take into account that StringUtils.isEmpty will return null if the field is an attachment, resulting on it always returning an error.
Checklists
Acceptance criteria
Attachments
1.
|
Development |
|
Completed | Yen Lac Tue | ||||||||
2.
|
piQA |
|
Completed | Thuy To | ||||||||
3.
|
QA |
|
Completed | Jesus Alonso | ||||||||
4.
|
Verify documentation |
|
Completed | Adrian Brooks |
|