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

Implement local collissions following the ownCloud convention #11048

Closed
michaelstingl opened this issue Jul 21, 2023 · 6 comments · Fixed by #11117
Closed

Implement local collissions following the ownCloud convention #11048

michaelstingl opened this issue Jul 21, 2023 · 6 comments · Fixed by #11117
Assignees
Labels
p3-medium Normal priority
Milestone

Comments

@michaelstingl
Copy link
Contributor

When local sync folders collide (re-adding the same Space, or syncing 2 Spaces with identical names), they should be created with " (2)" at the end. (Same as in other ownCloud products, for example when I receive 2 Shares with the same name.

CleanShot 2023-07-21 at 15 35 34

@michaelstingl michaelstingl added the p3-medium Normal priority label Jul 21, 2023
@michaelstingl michaelstingl added this to the Desktop Client 5.0 milestone Jul 21, 2023
@TheOneRing
Copy link
Contributor

See

QString FolderMan::findGoodPathForNewSyncFolder(const QString &basePath, const QString &newFolder) const

@erikjv erikjv self-assigned this Aug 14, 2023
@erikjv erikjv linked a pull request Aug 17, 2023 that will close this issue
@Salipa-Gurung
Copy link
Contributor

Tested with
Desktop client version ownCloud 5.0.0.11822-daily20230821 65017f
windows-10.0.19045

Syncing 2 spaces with same name, one space is created with (2) at the end. ✔️

Screenshot from 2023-08-21 10-08-51

@HanaGemela
Copy link
Contributor

@michaelstingl haven't you meant the Space name?

@michaelstingl
Copy link
Contributor Author

@michaelstingl haven't you meant the Space name?

No, only collision of local sync folders

@Salipa-Gurung
Copy link
Contributor

Salipa-Gurung commented Aug 21, 2023

Tested with
Desktop client version ownCloud 5.0.0.11822-daily20230821 65017f
windows-10.0.19045

For 2 shares with same name

Before force sync

  • one share(test-share) is synced locally

  • but in another share(test-share(1)) error occurs: Error transferring https://192.168.56.1:9200/dav/spaces/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668/test-share (1) - server replied: Not Found

  • ownCloud.log

Screenshot from 2023-08-21 13-06-55 Screenshot from 2023-08-21 13-07-44

@HanaGemela
Copy link
Contributor

Tested with Desktop client version ownCloud 5.0.0.11822-daily20230821 65017f windows-10.0.19045

Syncing 2 spaces with same name, one space is created with (2) at the end. ✔️

Screenshot from 2023-08-21 10-08-51

Closing as fixed and passed QA.

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

Successfully merging a pull request may close this issue.

5 participants