Feature #34762
Display more detailed error message when attempting to import malformed CSV file
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Importers | |||
Target version: | 4.2.0 | |||
Resolution: | Fixed |
Description
Currently, the error message when attempting to import a malformed CSV file is too simple, just says "The file is not a CSV file or does not match the settings below". So it is difficult to identify problems with the CSV file.
The attached patch adds an exception message from Ruby's CSV class. It makes it much easier to debug the cause of importing error.
Associated revisions
Display more detailed error message when attempting to import malformed CSV file (#34762).
Patch by Go MAEDA.