System update panel always asks for U1 credentials

Bug #1301644 reported by Omer Akram
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-system-settings (Ubuntu)
Fix Released
High
Unassigned

Bug Description

ubuntu-system-settings 0.1+14.04.20140328-0ubuntu1 [modified: usr/share/ubuntu/settings/system/qml-plugins/system-update/PageComponent.qml], Ubuntu 14.04

I talked to gatox and according to him credentials are only needed for clicks apps updates.

1. Flash ubuntu on a mako with --bootstrap
2. when the phone starts open settings apps
3. go to updates

What happens:
The screen says 'Credentials not found' which stops us from testing the updates panel unless we login to Ubuntu One.

What should happen:
System updates shall not require Ubuntu One login.

<https://wiki.ubuntu.com/SoftwareUpdates#Listing>: "In addition, if checking for app updates requires Ubuntu One and you are currently not signed in, at the end of the list (after a separator, if there are any system updates), the text “Sign in to Ubuntu One to receive updates for apps.” should be followed by a “Sign In…” button, which opens the Ubuntu One sign-in dialog. Signing in should retry the check for updates."

Related branches

Revision history for this message
Omer Akram (om26er) wrote :
Revision history for this message
Iain Lane (laney) wrote :

It does work with system updates without needing credentials; I just tested.

I think there are some issues with the presentation though.

If there's no (click or system) update available, you see a message in the middle of the panel which says 'Credentials not found', and then a list item at the bottom which says 'Please log into your Ubuntu One account'. This takes you to the UI to sign in to an account.

If there is a system-update available and it's downloading, you see it downloading as before. No messages about credentials.

Assigning to mpt to get a design for how to present this information to the user. You need to be signed in to update click packages, but not to update the base system. Not sure if you can find out if there are updates available without being signed in - check with gatox if this is to be part of the design.

summary: - [regression] System update requires sign into Ubuntu One
+ System update panel always asks for U1 credentials
Revision history for this message
Iain Lane (laney) wrote :

Another one of the problems I guess is that you see 'Credentials not found', which is a confusing message on it own, but not any indication that there aren't any system updates—something the system does know at this point.

Changed in ubuntu-system-settings (Ubuntu):
assignee: nobody → Matthew Paul Thomas (mpt)
Revision history for this message
Omer Akram (om26er) wrote :

Also to point out that when it says 'Credentials not found' at that time there is no way to know if my phone is on the very latest image or not, because 'Credentials not found' never changes in that case.

This is a showstopper for the upgrade testing that we are doing.

Changed in ubuntu-system-settings (Ubuntu):
importance: Undecided → High
Changed in ubuntu-system-settings (Ubuntu):
status: New → In Progress
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

I think it is a mistake to require sign-in just to *check* for updates. That might lead to you going to the trouble of signing in (or even registering an Ubuntu One account), only to see that no updates are available. Signing in to *install* updates would be much more palatable.

Meanwhile, though, I've updated the spec assuming that sign-in is necessary to check for updates. <https://wiki.ubuntu.com/SoftwareUpdates?action=diff&rev2=153&rev1=152>

Changed in ubuntu-system-settings (Ubuntu):
assignee: Matthew Paul Thomas (mpt) → nobody
status: In Progress → Triaged
description: updated
Changed in ubuntu-system-settings (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-system-settings - 0.1+14.10.20140507-0ubuntu1

---------------
ubuntu-system-settings (0.1+14.10.20140507-0ubuntu1) utopic; urgency=low

  [ Diego Sarmentero ]
  * Avoid duplicate result of Image upadte. Don't ask for credentials on
    Image update (LP: #1301644)
  * Ignore real updates during autopilot tests (LP: #1281582)

  [ Iain Lane ]
  * Disable the data roaming switch and set it to false if data is off
    (LP: #1287260)
 -- Ubuntu daily release <email address hidden> Wed, 07 May 2014 16:36:43 +0000

Changed in ubuntu-system-settings (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.