Uploaded image for project: 'Playground'
  1. Playground
  2. PLAY-105

cURL data is not correctly resetting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: Repository Explorer

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.