-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2021.0
-
Component/s: CSV Importer
-
Tags:
-
Backlog priority:600
-
Sprint:nxplatform #93
-
Story Points:3
Steps to reproduce:
- create a CSV file where there is an extra column with content but without a header (use the attached CSV file to reproduce)
- log in to Nuxeo as Administrator
- navigate to the personal workspace
- click on the + button then go to the CSV tab
- select the CSV file from step 1
- finish the process by clicking on the Create button
Observed behavior: the window shows that "Your process is complete" but the detailed report does not show any imported or failed or error entries.
In the logs, there is an explicit error
ERROR [AbstractWork] Exception during work: CSVImporterWork(, Progress(?%, ?/0), Importing) java.lang.IllegalArgumentException: A header name is missing in [name, type, dc:title, dc:description, , dc:issued]
Expected behavior: an error should be displayed in the Results window and ideally the error message "A header name is missing" should be shown to indicate the root cause of the failed import.