-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF32, 11.3, 2021.0
-
Component/s: Rest API
-
Release Notes Summary:The response is returned as a JSON payload when an error occurs with the Document endpoint.
-
Tags:
-
Backlog priority:800
-
Team:PLATFORM
-
Sprint:nxplatform #16
-
Story Points:3
When a HTTP 409 is returned by the REST API after a concurrent update error, Nuxeo Client is unable to parse the error body, because it's not JSON code
Is the problem with Nuxeo Java Client or with REST API which does not encode the entity as JSON in https://github.com/nuxeo/nuxeo/blob/master/modules/platform/rest-api/nuxeo-rest-api-server/src/main/java/org/nuxeo/ecm/restapi/server/jaxrs/JSONDocumentObject.java#L85 ?