Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VFS. CfAPI. Provide detailed error message for leading '#' placeholder update failure. #6456

Merged

Conversation

allexzander
Copy link
Contributor

@allexzander allexzander commented Feb 17, 2024

CfUpdatePlaceholder fails in case a path contains any folder with leading '#'. The same happens with CfConvertToPlaceholder. This bug can not be explained, except for a Windows internals issue. Different combinations of parameters do not prevent it from happening. Until we find a better solution, I am adding self-explanatory error messages to help users understand/fix paths.

@allexzander allexzander requested a review from mgallien February 19, 2024 08:59
@allexzander
Copy link
Contributor Author

/backport to stable-3.12

…r update failure.

Signed-off-by: alex-z <blackslayer4@gmail.com>
@allexzander allexzander force-pushed the feature/vfs-cfapi-detailed-error-message-for-leading-hash branch from 30a46da to 74bef92 Compare February 22, 2024 15:56
Copy link

sonarcloud bot commented Feb 22, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

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

See analysis details on SonarCloud

@allexzander allexzander merged commit 094947b into master Feb 22, 2024
10 of 13 checks passed
@allexzander allexzander deleted the feature/vfs-cfapi-detailed-error-message-for-leading-hash branch February 22, 2024 17:37
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-6456-74bef928a3dc2614697393fb8b56f368d3c00c67-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants