Value could not be retrieved: Need to validate OAuth tokens
Bug #726612 reported by
Roman Yepishev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Control Panel |
Fix Released
|
Medium
|
Natalia Bidart | ||
ubuntuone-control-panel (Ubuntu) |
Fix Released
|
Medium
|
Natalia Bidart |
Bug Description
At the moment when Ubuntu One Control Panel is using the token that was removed from https:/
Control panel needs to be able to validate the OAuth token used and re-initiate OAuth pairing if and only if that token is no longer valid. Please see bug #450633 and bug #437165 for initial attempts to handle OAuth errors, it should be definitely clear that the connection cannot be established due to missing token at the server side and neither timeouts nor 50x errors should trigger this condition.
Related branches
lp:~nataliabidart/ubuntuone-control-panel/raise-and-handle-unauthorized
- Roberto Alsina (community): Approve
- Roman Yepishev (community): Approve (fieldtest)
-
Diff: 757 lines (+218/-44)14 files modifiedubuntuone/controlpanel/backend.py (+29/-2)
ubuntuone/controlpanel/dbus_service.py (+29/-21)
ubuntuone/controlpanel/gtk/gui.py (+19/-5)
ubuntuone/controlpanel/gtk/package_manager.py (+3/-2)
ubuntuone/controlpanel/gtk/tests/test_gui.py (+29/-1)
ubuntuone/controlpanel/gtk/tests/test_gui_basic.py (+9/-0)
ubuntuone/controlpanel/gtk/tests/test_package_manager.py (+2/-2)
ubuntuone/controlpanel/integrationtests/__init__.py (+1/-2)
ubuntuone/controlpanel/integrationtests/test_dbus_service.py (+29/-0)
ubuntuone/controlpanel/integrationtests/test_webclient.py (+11/-1)
ubuntuone/controlpanel/replication_client.py (+1/-1)
ubuntuone/controlpanel/tests/test_backend.py (+43/-5)
ubuntuone/controlpanel/utils.py (+1/-1)
ubuntuone/controlpanel/webclient.py (+12/-1)
tags: | added: desktop+ u1-natty |
Changed in ubuntuone-control-panel: | |
assignee: | nobody → Naty Bidart (nataliabidart) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in ubuntuone-control-panel (Ubuntu): | |
assignee: | nobody → Naty Bidart (nataliabidart) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in ubuntuone-control-panel (Ubuntu): | |
milestone: | none → ubuntu-11.04-beta-2 |
Changed in ubuntuone-control-panel: | |
status: | Triaged → In Progress |
tags: |
added: u1-natty-beta removed: u1-natty |
Changed in ubuntuone-control-panel: | |
status: | In Progress → Fix Committed |
Changed in ubuntuone-control-panel: | |
status: | Fix Committed → Fix Released |
Changed in ubuntuone-control-panel (Ubuntu): | |
status: | Triaged → In Progress |
To post a comment you must log in.
This depends on having bug #751895 fixed.