Infomaniak / desktop-kDrive

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

[KDESKTOP-866] Special handling on MacOSX of paths of length 1023 with special characters #147

Closed luc-guyot-infomaniak closed 5 months ago

luc-guyot-infomaniak commented 5 months ago

This pull requests addresses the Jira ticket KDESKTOP-866: a file of file path length 1023 containing a special character can cause a trouble to some of MacOSX file system API calls.

The issue is not entirely understood: we don't know which of fileURLWithPath or getResourceValue is actually causing the problem.

The current proposition consists mostly in documenting the issue in unit tests and in returning a more accurate error message when such an edge case occurs.

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud