Done
Details
Assignee
Pavlo SmahinPavlo SmahinReporter
Andrii PaiasAndrii Paias(Deactivated)Labels
Priority
TBDStory Points
2Sprint
NoneDevelopment Team
SpitfireFix versions
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Pavlo Smahin
Pavlo SmahinReporter
Andrii Paias
Andrii Paias(Deactivated)Labels
Priority
Story Points
2
Sprint
None
Development Team
Spitfire
Fix versions
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created January 29, 2020 at 1:03 PM
Updated February 6, 2020 at 1:51 PM
Resolved February 6, 2020 at 1:51 PM
It is possible to create a custom field with type "TEXTBOX_SHORT" or "TEXTBOX_LONG" without specifying "textField" attribute. In this case when we try to add custom field we will get an NPE.
POST /custom-fields with following body passes validation and successfully creates custom text field.
This issue might also happen for type "SINGLE_CHECKBOX" and "checkboxField" attribute.
Expected behaviour:
Above request should return an error if "textField" attribute is missing.