Create a Data Logger
dialog can present incorrect errors
#4592
Labels
Create a Data Logger
dialog can present incorrect errors
#4592
Describe the bug
Create a Data Logger
dialog has multiple required inputs, but returns incorrect errors if those fields don't have values.For instance, if you attempt to submit only a name, the returned error is that the name isn't unique even if it actually is (the real error in this case is
null value in column "location_description" violates not-null constraint
).If you then submit a value for the Location Description, the next suppressed error is
null value in column "identifier" violates not-null constraint
.Expected Behavior
When submitting form inputs, errors should be reported accurately, and the form should not allow submission without values in the three required fields:
Actual Behavior
Steps to Reproduce
The text was updated successfully, but these errors were encountered: