1st login when purchasing software does not remember username

Bug #1042279 reported by David Pitkin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
High
Michael Vogt
Precise
Fix Released
Undecided
Unassigned
Quantal
Fix Released
Undecided
Unassigned

Bug Description

When a user is purchasing software the first login screen does not remember the username that was previously used to login, this can be provided as a hint since we know the username in the client and open the login.

TEST CASE:
- use precise
- click "buy" a zero-cost application like "knightstour"
- verify that the email field is not populated

- install the version from precise-proposed
- click on "enable recommendations" in the main lobby view (to trigger a login that in turn will trigger entering the mail address)
- click on "buy" for a zero-cost or for-purchase application
- verify that this time the email field is not blank

Regression potential: If that breaks, the user will have to manually enter his/her email.

Related branches

David Pitkin (dpitkin)
Changed in software-center (Ubuntu):
importance: Undecided → High
Revision history for this message
Michael Vogt (mvo) wrote :

What we have readily availabe in the gnome-keyring is the openid ID of the user. This could be send to the server.
Alternatively we can cache the username in the config and use that.

Michael Vogt (mvo)
Changed in software-center (Ubuntu):
status: New → In Progress
Changed in software-center (Ubuntu):
assignee: nobody → Michael Vogt (mvo)
Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 5.3.10

---------------
software-center (5.3.10) quantal; urgency=low

  [ Robert Roth ]
  * lp:~evfool/software-center/lp1034894:
    - Set the linked style class to the back and forward buttons as
      requested in bug #1034894.

  [ Michael Vogt ]
  * lp:~mvo/software-center/fix-more-dep8,
    lp:~mvo/software-center/more-dep8-again:
    - additional set of updates to fix issues in the
      dep8/ADT test runs on jenkins
  * lp:~mvo/software-center/fix-chroot-lp1040311:
    - fix crash if there is no system dbus, this can
      happen e.g. when running inside a chroot
      environment (LP: #1040311)
  * lp:~mvo/software-center/recagent-test-cleanup:
    - consolidate code in test_recagent into common
      functions
  * lp:~mvo/software-center/lp1043152:
    - ensure that any white space is properly stripped from
      package lists received from the agent (LP: #1043152)
  * lp:~mvo/software-center/auto-fill-email-for-login:
    - allow auto-fill of the email in login.ubuntu.com if
      we have it (LP: #1042279)
  * tests/gtk3/test_unity_launcher_integration.py:
    - fix patching of softwarecenter.utils.is_unity_running
  * softwarecenter/ui/gtk3/views/purchaseview.py:
    - fix SEGV in tests/gtk3/test_purchase.py by initialising the
      parent object properly

  [ Gary Lasker ]
  * lp:~gary-lasker/software-center/recommender-panel-visual-tweaks:
    - add support for two sizes of spinner to the spinner widget and use
      the smaller one for the lobby/category screen panels
  * lp:~gary-lasker/software-center/update-to-latest-recommender-client:
    - update to the latest recommender client API from
      lp:~canonical-ca-hackers/ubuntu-recommender/ubuntu-recommender-client
      and replaces the deprecated recommend_me call with the new recommend_me
      call that includes the UUID
  * lp:~gary-lasker/software-center/recommender-unit-test-updates:
    - update unit test to accomodate the new subcategory that has been
      added to the themes and tweaks category
 -- Michael Vogt <email address hidden> Thu, 30 Aug 2012 10:22:58 +0200

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi Michael. This needs a test case at the very least, and an assertion in the description about any specific areas where regressions might be introduced.

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

<BUMP> We still need a test case for this bug.

Revision history for this message
Chris Halse Rogers (raof) wrote :

I've rejected the software-center SRU from the precise-proposed queue, as bug #1006570 and bug #1042279 have been waiting for test cases and regression potential for over a month now.

Once these bugs have the necessary information for an SRU, please ping me or another an SRU team member in #ubuntu-release and we can fish it out of the rejected queue.

Michael Vogt (mvo)
description: updated
Michael Vogt (mvo)
description: updated
Michael Vogt (mvo)
Changed in software-center (Ubuntu Quantal):
status: New → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello David, or anyone else affected,

Accepted software-center into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/software-center/5.2.7 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in software-center (Ubuntu Precise):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Verified, e-mail now pre-filled with the test case.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 5.2.7

---------------
software-center (5.2.7) precise-proposed; urgency=low

  * lp:~mvo/software-center/oem-descriptor-in-user-agent-5.2:
    - include the oem-channel descriptor in the custom user agent
      string (LP: #1042749)
  * lp:~mvo/software-center/auto-fill-email-for-login:
    - allow auto-fill of the email in login.ubuntu.com if
      we have it (LP: #1042279)
  * lp:~mvo/software-center/fix-memleak-5.2:
    - fix two memory leaks when the cache is re-opened after
      a package has been installed/removed (LP: #1003466)
  * lp:~mvo/software-center/region-whitelist-5.2:
    - fix missing region whitelist support that is used by
      the software-center-agent (LP: #1006570)
  * lp:~mvo/software-center/downloader-fix-race839462-again-5.2:
    - fix a race condition in the SimpleFileDownloader when the file
      is downloaded but the signal did not get delivered yet by the
      gtk event loop (LP: #1055441)
 -- Michael Vogt <email address hidden> Wed, 26 Sep 2012 09:39:43 +0200

Changed in software-center (Ubuntu Precise):
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

Remote bug watches

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