-
Type: New Feature
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 10.10
-
Fix Version/s: HOTFIX_10.10, 2021.x, 2023.x
-
Component/s: CSV Importer
-
Tags:
-
Backlog priority:800
-
Story Points:5
The CSV import addon considers empty value to be ignored to not edit a property.
We would like to add an option to tell the addon to nullify a property on empty value.
Steps to highlight the use case:
- Start a Nuxeo instance with the nuxeo-csv addon installed
- Navigate to a workpace and push the + button, then go to the CSV tab
- Upload the attached file testsub.csv and validate with the Create button
- Observe that a File document is created with the title "My file" and whose subjects are "Architecture and Cinema"
- Go back to the workspace, push the + button and go to the CSV tab
- Upload the attached file testsub2.csv : in this file the field for dc:subjects has been emptied. Validate with the Create button
- Observe that a File document is updated with the title "My file bis" but the subjects are still "Architecture and Cinema" ==> this is the bug
- To demonstrate that the CSV import correctly update a multi-valued property, use the file testsub3.csv and observe that the title is now "My file ter" and the subjects contain only "Danse"
Desired behavior: after uploading the file testsub2.csv, the value for dc:subjects should be null