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

Fix nullifying a multi-valued property

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 9.10-HF38, 10.10-HF18, 11.1-SNAPSHOT
    • Fix Version/s: 9.10-HF38, 10.10-HF19, 11.1, 2021.0
    • Component/s: Rest API

      Description

      Steps to reproduce:

      1. Create a File document and set the Subjects field with "Architecture"
      2. Edit the File document
      3. Remove the value from the Subjects field
      4. Save
      5. Observe that the Architecture value is still set for the Subjects field

      Expected behavior:

      The Subjects field should be empty after removing the value.

      Example of PUT request which fails:

      PUT https://nightly.nuxeo.com/nuxeo/api/v1/id/c53f485d-54ca-4e97-8c2e-d03386fa0c76 
      
      {
        "entity-type": "document",
        "uid": "c53f485d-54ca-4e97-8c2e-d03386fa0c76",
        "properties": {
          "dc:subjects": []
        }
      }
      

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 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 - 4 hours
                  4h