Incorrect FolderCreateError (UDF's can not be nested)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Fix Released
|
High
|
Facundo Batista | ||
ubuntuone-client (Ubuntu) |
Fix Released
|
Medium
|
Facundo Batista | ||
Natty |
Won't Fix
|
Medium
|
Unassigned | ||
Oneiric |
Fix Released
|
Medium
|
Facundo Batista |
Bug Description
Steps to reproduce:
* Create folder /home/user/
* Create folder /home/user/
* Select folder /home/user/
* Wait until folder is synced properly
==> Everything working so far
* Select folder /home/user/
==> Nothing happens, sometimes Nautilus window crashes
* On the command line, try: u1sdtool --create-
==> FolderCreateError: UDFs can not be nested (path=/
Expected Behaviour: /home/user/
My guess is that the ubuntuone-client checks if the path of the folder to sync contains the path of an already synced folder. If this is the case, the solution would be to simply check if it contains an already synced folder's path WITH a slash appended to it.
Related branches
- Natalia Bidart (community): Approve
- Guillermo Gonzalez: Approve
-
Diff: 66 lines (+41/-1)2 files modifiedtests/syncdaemon/test_vm.py (+39/-0)
ubuntuone/syncdaemon/volume_manager.py (+2/-1)
Changed in ubuntuone-client: | |
assignee: | nobody → Ubuntu One Foundations+ team (ubuntuone-foundations+) |
Changed in ubuntuone-client: | |
importance: | Undecided → High |
summary: |
- Incorrect FolderCreateError UDF's can not be nested + Incorrect FolderCreateError (UDF's can not be nested) |
Changed in ubuntuone-client: | |
status: | Confirmed → Triaged |
tags: | added: chicharra chicharra-oneiric |
Changed in ubuntuone-client: | |
status: | Triaged → In Progress |
assignee: | Ubuntu One Foundations+ team (ubuntuone-foundations+) → Facundo Batista (facundo) |
Changed in ubuntuone-client: | |
status: | In Progress → Fix Committed |
Changed in ubuntuone-client: | |
milestone: | none → 1.7.1 |
Changed in ubuntuone-client: | |
status: | Fix Committed → Fix Released |
tags: | added: support |
tags: | added: u1-natty-sru |
Changed in ubuntuone-client (Ubuntu Oneiric): | |
status: | New → Fix Released |
importance: | Undecided → Medium |
Changed in ubuntuone-client (Ubuntu Natty): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in ubuntuone-client (Ubuntu Oneiric): | |
assignee: | nobody → Facundo Batista (facundo) |
I can confirm this behaviour in Maverick. After creating the folder workfolder_suffix I was unable to sync any folder named workfolder, work, etc. duanedesign- laptop: ~$u1sdtool --list-folders b78a-479d- 9bda-29213e4119 89 subscribed=True path=/home/ duanedesign/ workfolder_ suffix
duanedesign@
Folder list:
id=71d63889-
duanedesign@ duanedesign- laptop: ~$u1sdtool --create- folder= /home/duanedesi gn/workfolder home/duanedesig n/workfolder) duanedesign- laptop: ~$u1sdtool --create- folder= /home/duanedesi gn/work home/duanedesig n/work)
FolderCreateError: UDFs can not be nested (path=/
duanedesign@
FolderCreateError: UDFs can not be nested (path=/
ubuntuone-client: us.archive. ubuntu. com/ubuntu/ maverick/main amd64 Packages dpkg/status
Installed: 1.4.4.1-0ubuntu1
Candidate: 1.4.4.1-0ubuntu1
Version table:
*** 1.4.4.1-0ubuntu1 0
500 http://
100 /var/lib/