-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF39, 11.5, 2021.1
-
Component/s: Rest API
When using the Nuxeo REST API document resource endpoints to create a document that contains a property with a constraint, the error message returned when the constraint is violated does not contain the name of the property, which makes it difficult to understand which constraint is violated if the document has multiple properties with a constraint.
Current error message reported in the JSON response:
Constraint violation thrown: 'This property cannot contain more than 64 character(s).'
Expected error message:
Constraint violation thrown: 'Property PROPERTY_NAME_HERE cannot contain more than 64 character(s).'
- Is referenced in
(3 Is referenced in)