-
Type:
Bug
-
Status: Done (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 6.1.0
-
Fix Version/s: 6.2.1
-
Component/s: None
-
Labels:None
-
Critical Points:9
Steps to reproduce the problem
- Add the script below on the Text type custom field
def field = getFieldById(getFieldChanged()) if(field.getValue() == "" || field.getValue() == " " || field.getValue() == null) { field.setError("error message") } else { field.clearError() }
- Go to Edit issue screen and prompt errors because the field is null (which is fine)
- When user key in value on the field and then submit but error message showing again
Demo - Screen Recording 2020-06-10 at 12.42.04 PM.mov
Expected Behaviour
The clear error should be able to clear the error message when the IF ELSE condition is met.
- is related to
-
SRJIRA-4385 Behaviour - clearError is not able to clear out setError
-
- Done
-