Infomaniak / desktop-kDrive

:computer: Desktop Syncing Client for kDrive
GNU General Public License v3.0
19 stars 4 forks source link

[KDESKTOP-986] Handles CSV parsing error of the full listing appropriately #199

Closed luc-guyot-infomaniak closed 1 month ago

luc-guyot-infomaniak commented 2 months ago

This pull-request addresses KDESKTOP-986.

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.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
5 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud