-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.10, 2021.0
-
Fix Version/s: 10.10-HF57, 2021.14
-
Component/s: Rest API
-
Release Notes Summary:An error is thrown if a value does not correspond to the property type at creation with a REST API call.
-
Tags:
-
Backlog priority:800
-
Sprint:nxplatform #51
-
Story Points:3
When providing a string as a value to an integer property when creating/modifying a document, its value is set to integer value 0.
How to reproduce:
- in Studio Modeler, define a document type with an integer property
- deploy
- create a document using the type above and provide a string value for the integer property via the Nuxeo REST API
Expected result: the REST call should probably return an error
Actual result: the document is created with the integer value 0 for the integer property
- causes
-
NXP-30806 Fix REST API when setting an Integer property with a String value which can be parsed as an Integer
- Resolved
-
WEBUI-638 Fix error when adding Vocabulary entry
- Resolved
-
NXP-31199 Fix REST API when setting an Integer property with an empty String
- Resolved
-
JAVACLIENT-226 Fix wrong type usage
- Resolved
- Is referenced in