updates panel doesn't deal with invalid u1 tokens

Bug #1378678 reported by Thomas Strehl
54
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Bill Filler
ubuntu-system-settings (Ubuntu)
Fix Released
High
Ken VanDine

Bug Description

See attached screenshot: when having a system update available and some app updates then updating any app does not have any effect, meaning no download or installation starts for no apparent reason (there is also no feedback, the progress bar is shown but remains all the time at 0). The only thing that works on that page is installing the system update. If that is intentional it would be good to have some visual hints.

Related branches

Revision history for this message
Thomas Strehl (strehl-t) wrote :
Changed in ubuntu-system-settings (Ubuntu):
assignee: nobody → Diego Sarmentero (diegosarmentero)
Revision history for this message
Thomas Strehl (strehl-t) wrote :

After updating the system, updating the pay ui is still not possible. It says downloading, but there is zero progress.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Right, I can confirm that and it's not due to system updates

Revision history for this message
Sebastien Bacher (seb128) wrote :

the sso token were invalidated yesterday and apparently the stack has issues dealing with that, popey said that deleting and adding back the U1 account makes thing work

summary: - app updates apparently don't work when system update is available
+ updates panel doesn't deal with invalid u1 tokens
tags: added: beta qa-daily-testing
Revision history for this message
Sebastien Bacher (seb128) wrote :

Unassigning from Diego who is not working on settings anymore, need to find another owner there

Changed in ubuntu-system-settings (Ubuntu):
assignee: Diego Sarmentero (diegosarmentero) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-system-settings (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

What does it mean to "deal with an invalid token"? Does every app that uses any online account have to cater for that case, or is it something that Online Accounts can/should do automatically?

Revision history for this message
Seth Arnold (seth-arnold) wrote :

mpt, there should be -some- kind of visual indication in the updates interface that an error has occurred and it should give the user some clues about why it failed. If there is an error message from the update server in the headers then that error should be passed along the users.

It currently just looks like we didn't implement updates.

Revision history for this message
Jonathan Cave (jocave) wrote :

Update from
   ubuntu-touch/stable/bq-aquaris.en r17 krillin
 to
   ubuntu-touch/stable/bq-aquaris.en r18 krillin

Previously configured U1 account disappeared during this OTA update. This device had a Google OA configured which was not removed.

Revision history for this message
Jonathan Cave (jocave) wrote :

The same behaviour present when upgrading from ubuntu-touch/stable/bq-aquaris.en r16 krillin

Revision history for this message
David Barth (dbarth) wrote :

Same for a U1 account created on r17. The upgrade to r18 had the account preserved. Which is technically that the ACLs protecting the account privacy have been upgraded in r17 and are considered up-to-date in upward releases.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

tracking the ota deleting the u1 account and consider an early ota fix witht he solution from vivid

Changed in canonical-devices-system-image:
importance: Undecided → Critical
milestone: none → ww13-ota
status: New → Confirmed
Changed in ubuntu-system-settings (Ubuntu RTM):
status: New → Confirmed
importance: Undecided → High
importance: High → Critical
Changed in ubuntu-system-settings (Ubuntu):
status: Confirmed → Fix Released
status: Fix Released → Confirmed
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

wrong bug

no longer affects: canonical-devices-system-image
Revision history for this message
dobey (dobey) wrote :

@mpt It means dealing with an expired token. The network requests are all handled by the app, not online-accounts, so the apps have to deal with it individually. The correct way to handle this is to handle 401/403 errors by deleting the current token on the system, and opening the online-accounts UI for the account, to require logging in again.

@jocave, @dbarth: this is the wrong bug for that. The correct bug is #1413655

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Can this get in the queue

Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
importance: Undecided → High
milestone: none → ww40-2015
status: New → Confirmed
Changed in ubuntu-system-settings (Ubuntu):
assignee: nobody → Ken VanDine (ken-vandine)
Changed in ubuntu-system-settings (Ubuntu):
status: Confirmed → In Progress
no longer affects: ubuntu-system-settings (Ubuntu RTM)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-system-settings - 0.3+15.10.20150901-0ubuntu1

---------------
ubuntu-system-settings (0.3+15.10.20150901-0ubuntu1) wily; urgency=medium

  [ Ken VanDine ]
  * emit credentialsDeleted when the U1 token expired (LP: #1378678)

  [ Manuel de la Pena ]
  * Sign the query in order to get a possible auth error from the server
    and stop the user from trying to do updates with invalid creds.
  * The updates page is leaking objects when we have a successful update
    and when we do have errors. The following branch ensures that no
    memory is wasted.

 -- CI Train Bot <email address hidden> Tue, 01 Sep 2015 13:59:12 +0000

Changed in ubuntu-system-settings (Ubuntu):
status: In Progress → Fix Released
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
status: Confirmed → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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