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

Do not create default sync root when loading accounts #11128

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

erikjv
Copy link
Collaborator

@erikjv erikjv commented Aug 17, 2023

Creating the default sync root is only needed at initial setup. If a user chooses to point all folders for Spaces outside that default sync root, and deletes the default sync root folder, it should not be re-created.

Fixes: #10919

@erikjv erikjv requested review from TheOneRing and fmoc August 17, 2023 15:28
@erikjv erikjv self-assigned this Aug 17, 2023
Copy link
Contributor

@TheOneRing TheOneRing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable, thx.

Copy link
Contributor

@TheOneRing TheOneRing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide a changelog entry

@TheOneRing
Copy link
Contributor

I opened an issue for the crash in the gui test.
#11131

Copy link
Contributor

@TheOneRing TheOneRing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changelog entry please

Creating the default sync root is only needed at initial setup. If a
user chooses to point all folders for Spaces outside that default sync
root, and deletes the default sync root folder, it should not be
re-created.

Fixes: #10919
@erikjv erikjv force-pushed the work/do-not-recreate-deleted-sync-root branch from 09ce8c6 to f0fd29d Compare August 23, 2023 15:52
@erikjv erikjv requested a review from TheOneRing August 23, 2023 15:53
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@erikjv erikjv merged commit 493d87b into master Aug 24, 2023
@delete-merged-branch delete-merged-branch bot deleted the work/do-not-recreate-deleted-sync-root branch August 24, 2023 14:07
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.

Default sync root directory created every time accounts are loaded
2 participants