Value could not be retrieved: Need to validate OAuth tokens

Bug #726612 reported by Roman Yepishev
6
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://one.ubuntu.com/account/machines/ it will fail to contact the server and will start displaying "Value could not be retrieved" on all the fields.

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

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
Revision history for this message
Natalia Bidart (nataliabidart) wrote :

This depends on having bug #751895 fixed.

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
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-control-panel - 0.9.5-0ubuntu1

---------------
ubuntuone-control-panel (0.9.5-0ubuntu1) natty; urgency=low

  * New upstream release:

    [ <email address hidden> ]
      - Now that we set the launcher urgency from ubuntuone-client, the control
      panel needs to remove it when its window receives focus (LP: #747677).
      - changed default value for switch_to to empty string, and now don't call
      switch_to method when the value is empty string (or anything else falsy)
      (LP: #752943).
      - Added proper defaults to the command line arguments (LP: #746489).
      - Fixed issue where closing the panel resulted in a runtime error
      (LP: #745987).
      - This adds a method to the dbus service that allows switching between
      panels, and/or drawing attention to the control panel (LP: #742008).
      - Removed the shortcut group that causes two Ubuntu One entries to appear
      in the messaging menu when syncdaemon is not running (LP: #721525).
    [ Natalia B. Bidart <email address hidden> ]
      - If servers reply with a 401, clear credentials and ask user to
      authenticate (LP: #726612).
      - Moving style_check down so the exit code from u1trial is not hidden by
      && operator.
      - Unify disable/enable file sync functionality among Services tab and
      global file sync status (LP: #729301).
      - Cloud Folders tab is now disabled when the file sync service is
      (LP: #747482).
      - Improving legend for plugin installation to ease translations
      (LP: #746374).
      - Added volumes.ui to the translation list (LP: #746370).
      - Small improvement to show something else besides the generic "Value can
      not be retrieved." error (LP: #722485).
      - Made the backend robust against possible None values (or any non
      basestring instance) sent from the API server (LP: #745790).
      - Decoupled device list retrieved from the web from the local settings
      retrieved from syncdaemon (LP: #720704).
      - Stop the control panel backend once the UI is done
      (LP: #704434).
      - After initial computer adding, syncdameon is asked to connect
      (LP: #715873).
 -- Natalia Bidart (nessita) <email address hidden> Fri, 08 Apr 2011 15:53:02 -0300

Changed in ubuntuone-control-panel (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.