QT UI: we need to handle errors from the backend
Bug #807021 reported by
Natalia Bidart
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Control Panel |
Fix Released
|
High
|
Natalia Bidart |
Bug Description
Currently, no error is handled when calling the backend. We should create a decorator that catches any error and logs it, and displays an error message somewhere in the UI (need design input for this).
Related branches
lp:~nataliabidart/ubuntuone-control-panel/handle-errors
- Roberto Alsina (community): Approve
- Diego Sarmentero (community): Approve
-
Diff: 1063 lines (+396/-127)21 files modifieddata/qt/signin.ui (+0/-7)
ubuntuone/controlpanel/cache.py (+7/-2)
ubuntuone/controlpanel/gui/qt/__init__.py (+49/-0)
ubuntuone/controlpanel/gui/qt/account.py (+1/-0)
ubuntuone/controlpanel/gui/qt/addfolder.py (+2/-0)
ubuntuone/controlpanel/gui/qt/controlpanel.py (+1/-0)
ubuntuone/controlpanel/gui/qt/device.py (+11/-2)
ubuntuone/controlpanel/gui/qt/devices.py (+1/-0)
ubuntuone/controlpanel/gui/qt/folders.py (+1/-0)
ubuntuone/controlpanel/gui/qt/preferences.py (+1/-0)
ubuntuone/controlpanel/gui/qt/signin.py (+9/-10)
ubuntuone/controlpanel/gui/qt/tests/__init__.py (+43/-5)
ubuntuone/controlpanel/gui/qt/tests/test_addfolder.py (+20/-23)
ubuntuone/controlpanel/gui/qt/tests/test_common.py (+166/-3)
ubuntuone/controlpanel/gui/qt/tests/test_device.py (+19/-11)
ubuntuone/controlpanel/gui/qt/tests/test_devices.py (+0/-2)
ubuntuone/controlpanel/gui/qt/tests/test_folders.py (+14/-31)
ubuntuone/controlpanel/gui/qt/tests/test_signin.py (+14/-30)
ubuntuone/controlpanel/gui/qt/tests/test_ubuntuonebin.py (+19/-1)
ubuntuone/controlpanel/gui/qt/ubuntuonebin.py (+11/-0)
ubuntuone/controlpanel/tests/test_cache.py (+7/-0)
Changed in ubuntuone-control-panel: | |
assignee: | nobody → Natalia Bidart (nataliabidart) |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: u1-zomg-windows |
Changed in ubuntuone-control-panel: | |
status: | Triaged → In Progress |
Changed in ubuntuone-control-panel: | |
status: | In Progress → Fix Committed |
tags: | added: u1-windows |
Changed in ubuntuone-control-panel: | |
milestone: | none → 2.0.0 |
Changed in ubuntuone-control-panel: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.