Do not allow folder creation in a folder containing an UDF
Bug #800161 reported by
Natalia Bidart
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Control Panel |
Fix Released
|
Medium
|
Natalia Bidart |
Bug Description
From https:/
- Adding folder A/B/C/D and then adding folder A/B/C fails, and shows this on the command line:
Failure: ubuntuone.
Related branches
lp:~nataliabidart/ubuntuone-control-panel/isolate-create-folder
- Manuel de la Peña (community): Approve
- Roberto Alsina (community): Approve
-
Diff: 1180 lines (+457/-348)12 files modifieddata/qt/folders.ui (+9/-5)
ubuntuone/controlpanel/backend.py (+33/-0)
ubuntuone/controlpanel/gui/__init__.py (+3/-5)
ubuntuone/controlpanel/gui/qt/addfolder.py (+75/-0)
ubuntuone/controlpanel/gui/qt/folders.py (+5/-48)
ubuntuone/controlpanel/gui/qt/main/linux.py (+1/-110)
ubuntuone/controlpanel/gui/qt/tests/__init__.py (+17/-2)
ubuntuone/controlpanel/gui/qt/tests/test_addfolder.py (+169/-0)
ubuntuone/controlpanel/gui/qt/tests/test_folders.py (+17/-152)
ubuntuone/controlpanel/gui/tests/__init__.py (+13/-9)
ubuntuone/controlpanel/tests/__init__.py (+23/-14)
ubuntuone/controlpanel/tests/test_backend.py (+92/-3)
Changed in ubuntuone-control-panel: | |
assignee: | nobody → Natalia Bidart (nataliabidart) |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | added: u1-zomg-windows |
summary: |
- Do no allow folder creation in a folder containing an UDF + Do not allow folder creation in a folder containing an UDF |
Changed in ubuntuone-control-panel: | |
status: | Triaged → Fix Committed |
Changed in ubuntuone-control-panel: | |
milestone: | none → 1.1.1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Also, we need to ensure that when performing the check, we use paths that equally normalized. To do so, please use realpath.
Ideally, see if we can reuse the checker from u1client.