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.
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
orgetResourceValue
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.