-
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
-
Release Notes Summary:Multi-valued properties are correctly emptied.
-
Backlog priority:1,000
-
Sprint:nxplatform 11.1.22
-
Story Points:3
Steps to reproduce:
- Create a File document and set the Subjects field with "Architecture"
- Edit the File document
- Remove the value from the Subjects field
- Save
- 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": [] } }