Errors are not handled correctly
Bug #476632 reported by
Facundo Batista
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One storage protocol |
Fix Released
|
Medium
|
Natalia Bidart | ||
ubuntuone-storage-protocol (Ubuntu) |
Fix Released
|
Medium
|
dobey | ||
Lucid |
Fix Released
|
Medium
|
dobey |
Bug Description
The received errors through the protocol should be handled correctly, and raised the corresponding exception according to the error type in client.py
Related branches
lp://staging/~nataliabidart/ubuntuone-storage-protocol/map-those-errors
- John O'Brien (community): Approve
- dobey (community): Approve
-
Diff: 632 lines (+309/-74)9 files modifiedpylintrc (+3/-1)
tests/test_client.py (+1/-1)
tests/test_errors.py (+51/-0)
tests/test_request.py (+59/-6)
tests/test_volumes.py (+1/-1)
ubuntuone/storageprotocol/client.py (+22/-30)
ubuntuone/storageprotocol/errors.py (+156/-0)
ubuntuone/storageprotocol/request.py (+14/-35)
ubuntuone/storageprotocol/volumes.py (+2/-0)
tags: |
added: chicharra-lucid-usage removed: facundo-lucid |
Changed in ubuntuone-storage-protocol: | |
importance: | Undecided → High |
tags: | added: u1-lucid |
Changed in ubuntuone-storage-protocol: | |
status: | New → Triaged |
Changed in ubuntuone-storage-protocol: | |
assignee: | nobody → Ubuntu One Foundations+ team (uone-foundations) |
status: | Triaged → Confirmed |
tags: | added: foundations+ |
tags: | added: chicharra |
Changed in ubuntuone-storage-protocol: | |
importance: | High → Medium |
tags: | added: package |
Changed in ubuntuone-storage-protocol: | |
status: | Confirmed → In Progress |
assignee: | Ubuntu One Foundations+ team (ubuntuone-foundations+) → Naty Bidart (nataliabidart) |
Changed in ubuntuone-storage-protocol: | |
status: | In Progress → Fix Committed |
Changed in ubuntuone-storage-protocol (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Rodney Dawes (dobey) |
Changed in ubuntuone-storage-protocol (Ubuntu): | |
milestone: | none → ubuntu-10.04 |
Changed in ubuntuone-storage-protocol: | |
status: | Fix Committed → Fix Released |
Changed in ubuntuone-storage-protocol (Ubuntu Lucid): | |
status: | Triaged → Fix Released |
Changed in ubuntuone-storage-protocol: | |
milestone: | none → lucid-final |
Changed in ubuntuone-storage-protocol (Ubuntu Lucid): | |
status: | Fix Released → In Progress |
To post a comment you must log in.
This bug was fixed in the package ubuntuone- storage- protocol - 1.2.0-0ubuntu1
--------------- storage- protocol (1.2.0-0ubuntu1) lucid; urgency=low
ubuntuone-
* New upstream release.
- AttributeError when receiving ShareChanged message. (LP: #553547)
- Errors not handled correctly (LP: #476632)
-- Rodney Dawes <email address hidden> Thu, 15 Apr 2010 10:48:00 -0400