Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21125

Fix the call to PUT /nuxeo/api/v1/id not to reset the file:content property

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 7.10-HF10, 8.10-SNAPSHOT
    • Fix Version/s: 7.10-HF18, 8.10
    • Component/s: Core IO, Rest API

      Description

      Calling PUT /nuxeo/api/v1/id on a File document with a payload like

      {
      	"entity-type": "document",
      	"name": "file check",
      	"type": "File",
      	"state": "project",
      	"title": "file check",
      	"properties": {
      		"dc:description":"blabla",
      		"dc:title":"file check 1"
      	}
      }
      

      will reset the main blob stored in the file:content metadata

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m