-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.2.0
-
Component/s: Repository Explorer
-
Tags:
-
Sprint:nxNS Sprint 9.2.1
-
Story Points:1
Doing a creation using a POST: OK
curl -X POST 'http://localhost:8080/nuxeo/api/v1/id/7b6d95f6-8d80-47f6-b386-39bb34e08c30' -H 'X-Authentication-Token: b68005d9-89c9-42cc-81c7-8120f9b90fbd' -H 'Nuxeo-Transaction-Timeout: 3' -H 'X-NXproperties: *' -H 'X-NXRepository: default' -H 'X-NXenrichers.document: thumbnail,breadcrumb' -H 'content-type: application/json' -d '{ "entity-type": "document", "name":"newDoc", "type": "File", "properties": { "dc:title": "A new document", "dc:description": "Created via the REST API" } } '
And then, just after, executing a GET: KO
curl -X GET 'http://localhost:8080/nuxeo/api/v1/id/7b6d95f6-8d80-47f6-b386-39bb34e08c30' -H 'X-Authentication-Token: b68005d9-89c9-42cc-81c7-8120f9b90fbd' -H 'Nuxeo-Transaction-Timeout: 3' -H 'X-NXproperties: *' -H 'X-NXRepository: default' -H 'X-NXenrichers.document: thumbnail,breadcrumb' -H 'content-type: application/json' -d '{ "entity-type": "document", "name":"newDoc", "type": "File", "properties": { "dc:title": "A new document", "dc:description": "Created via the REST API" } } '
Data field is still present