Incorrect FolderCreateError (UDF's can not be nested)

Bug #649945 reported by deleteme
64
This bug affects 10 people
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/workspace_suffix
* Create folder /home/user/workspace
* Select folder /home/user/workspace_suffix and choose 'Synchronize on Ubuntu One'
* Wait until folder is synced properly
==> Everything working so far
* Select folder /home/user/workspace and choose 'Synchronize on Ubuntu One'
==> Nothing happens, sometimes Nautilus window crashes
* On the command line, try: u1sdtool --create-folder=/home/user/workspace
==> FolderCreateError: UDFs can not be nested (path=/home/user/workspace)

Expected Behaviour: /home/user/workspace is synced on Ubuntu One as well.

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

Revision history for this message
Duane Hinnen (duanedesign) wrote :

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@duanedesign-laptop:~$u1sdtool --list-folders
Folder list:
  id=71d63889-b78a-479d-9bda-29213e411989 subscribed=True path=/home/duanedesign/workfolder_suffix

duanedesign@duanedesign-laptop:~$u1sdtool --create-folder=/home/duanedesign/workfolder
FolderCreateError: UDFs can not be nested (path=/home/duanedesign/workfolder)
duanedesign@duanedesign-laptop:~$u1sdtool --create-folder=/home/duanedesign/work
FolderCreateError: UDFs can not be nested (path=/home/duanedesign/work)

ubuntuone-client:
  Installed: 1.4.4.1-0ubuntu1
  Candidate: 1.4.4.1-0ubuntu1
  Version table:
 *** 1.4.4.1-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status

Changed in ubuntuone-client:
status: New → Confirmed
tags: added: foundations+
Revision history for this message
MNLipp (mnl) wrote :

I can confirm this. In addition, if I have "/home/user/workspace-suffix" (i.e. dash instead of underscore) it prohibits syncing "/home/user/workspace" as well.

It looks like underscores and dashes are considered file path separators.

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
dobey (dobey)
Changed in ubuntuone-client:
milestone: none → 1.7.1
Revision history for this message
Michael Nelson (michael.nelson) wrote :

Just as a (perhaps common?) example of this: The Ubuntu One Files android app created and synced:

~/Pictures - HTC Desire

But now when I go to add the ~/Pictures folder from my computer, I see "This folder cannot be synchronized because it contains one or more folders that are already synchronized", even though there is nothing synchronised within the folder (as also shown via the web UI). After checking on irc, rye pointed me here.

dobey (dobey)
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)
Revision history for this message
Avery (docaltmed) wrote :

Will the fix be available for Natty?

Revision history for this message
Rolf Leggewie (r0lf) wrote :

natty has seen the end of its life and is no longer receiving any updates. Marking the natty task for this ticket as "Won't Fix".

Changed in ubuntuone-client (Ubuntu Natty):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.