partials fail to be created with "filename too long"
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu One Client | Status tracked in Trunk | |||||
Stable-1-4 |
Fix Released
|
High
|
Facundo Batista | |||
Trunk |
Fix Released
|
High
|
Facundo Batista | |||
ubuntuone-client (Ubuntu) |
Fix Released
|
High
|
Facundo Batista | |||
Maverick |
Fix Released
|
High
|
dobey |
Bug Description
When syncdaemon creates a partial we add stuff to the filename (uuid for uniqueness and the .u1partial extension). This makes the file name longer and sometimes fails to create the file. We should be able to find another name to the file in this case and not fail.
(see #657195 for logs and side effects)
-------
TEST CASE:
Ubuntu One client should be connected to the service.
1. Copy test file with name that is one character below the max supported by the filesystem to ~/Ubuntu One (e.g. unecrypted filesystem: "aaaaaaaaaaaaaa
Result: File is not synced
Expected result: File is synced
Related branches
- Lucio Torre (community): Approve
- Guillermo Gonzalez: Approve
-
Diff: 216 lines (+151/-6)2 files modifiedtests/syncdaemon/test_fsm.py (+125/-2)
ubuntuone/syncdaemon/filesystem_manager.py (+26/-4)
- John O'Brien (community): Approve
- Guillermo Gonzalez: Approve
-
Diff: 216 lines (+151/-6)2 files modifiedtests/syncdaemon/test_fsm.py (+125/-2)
ubuntuone/syncdaemon/filesystem_manager.py (+26/-4)
description: | updated |
Changed in ubuntuone-client (Ubuntu): | |
status: | New → Triaged |
Changed in ubuntuone-client: | |
status: | Triaged → In Progress |
Changed in ubuntuone-client (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Facundo Batista (facundo) |
tags: | added: chicharra u1-maverick-sru |
Changed in ubuntuone-client: | |
status: | In Progress → Fix Committed |
Changed in ubuntuone-client (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in ubuntuone-client (Ubuntu Maverick): | |
assignee: | nobody → Rodney Dawes (dobey) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in ubuntuone-client (Ubuntu Maverick): | |
milestone: | none → maverick-updates |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
This bug is high because in file systems like encryptfs where filenames are shorter we will fail a lot.