-
Notifications
You must be signed in to change notification settings - Fork 910
Fix Crash on File Provider Deactivation for Account with UUID Name #8941
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
Conversation
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes a crash that occurs when deactivating the File Provider for accounts with UUID names. The fix removes unnecessary assertions and improves code clarity around domain ID and account ID handling.
Key changes:
- Renamed
configuredDomainIds()togetAccountIdsOfFoundFileProviderDomains()and updated related variable names for clarity - Removed
accountIdFromDomainId()conversion call in cleanup logic, treating domain IDs as account IDs directly - Removed unnecessary account null assertions that could cause crashes
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/gui/macOS/fileproviderdomainmanager_mac.mm | Renamed method and variables for clarity, simplified domain cleanup logic by treating domain IDs as account IDs, and removed assertions that could cause crashes |
| shell_integration/MacOSX/NextcloudIntegration/NextcloudIntegration.xcodeproj/project.pbxproj | Updated Xcode project configuration with new object version and file system synchronized root group |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
/backport to stable-4.0 |
|
Artifact containing the AppImage: nextcloud-appimage-pr-8941.zip Digest: To test this change/fix you can download the above artifact file, unzip it, and run it. Please make sure to quit your existing Nextcloud app and backup your data. |
|



No description provided.