The fix consists in setting error with true via getItem when a fatal parsing error of the CSV full listing is detected.
This way the parsing is interrupted as soon as a fatal parsing error is encountered.
The CSV parsing functions are now covered by unit tests.
This pull-request addresses KDESKTOP-986.
The fix consists in setting
error
withtrue
viagetItem
when a fatal parsing error of the CSV full listing is detected. This way the parsing is interrupted as soon as a fatal parsing error is encountered.The CSV parsing functions are now covered by unit tests.