Previous purchases empty in precise

Bug #917137 reported by Michael Nelson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Undecided
Michael Nelson

Bug Description

STR:
 1) Ensure you've got some purchases from previous distroseries
 2) Run precise software-center
 3) File->Reinstall Previous Purchases

ER: a list of previously purchased apps is displayed
AR: an empty list is displayed

It turns out that in precise, USC has been updated to use the 2.0 api to find the users subscriptions, but this has a different API (for example, it doesn't have subscription.name, but subscription.application['name'], among others). The related test was still passing as it uses some sample JSON from the 1.0 api:

http://paste.ubuntu.com/806056/

Note: I came across this while trying to reproduce bug 833982 with trunk (r2653) but checked and it's also in 5.1.5.1 on pricise.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: software-center 5.1.5.1
ProcVersionSignature: Ubuntu 3.2.0-8.15-generic 3.2.0
Uname: Linux 3.2.0-8-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.90-0ubuntu2
Architecture: amd64
CheckboxSubmission: f26299558349e6bfa9a64225e1770925
CheckboxSystem: 669b662da410063cc918e0f60cf6cddf
Date: Mon Jan 16 13:41:22 2012
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: Upgraded to precise on 2012-01-16 (0 days ago)

Related branches

Revision history for this message
Michael Nelson (michael.nelson) wrote :
Changed in software-center (Ubuntu):
status: New → In Progress
assignee: nobody → Michael Nelson (michael.nelson)
description: updated
tags: added: client-server
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.1.7

---------------
software-center (5.1.7) precise; urgency=low

  [ Anthony Lenton ]
  * lp:~elachuni/software-center/any-language:
    - add support to display reviews in any language
  * lp:~elachuni/software-center/reset-review-page:
    - Small bugfix to ensure that switching language or
      reviews sort method resets the reviews page, and
      added tests.
  * lp:~elachuni/software-center/relax-origin-distroseries:
    - provide "relaxed" mode for fetching reviews if the exact
      review matcher does not find anything (LP: #766951)
  * lp:~elachuni/software-center/disable-new-review:
    - This branch disables the "Submit a new review" button when
      you click it, and reenables it when the submit review dialog
      closes
  * lp:~elachuni/software-center/reviews-tests:
    - add several new tests for code in the review_gui_helper module

  [ Michael Vogt ]
  * lp:~mvo/software-center/improve-debug-in-piston-generic-helper:
    - improve debug output of piston-generic-helper and a README
      with examples how it can be used to debug server side issues
  * lp:~mvo/software-center/review-language-i18n:
    - make the language selection combo in the reviews widget
      nicer by adding a proper i18n name to it
  * lp:~mvo/software-center/trivial-move-gui-helpers:
    - move rnr_helpers.py to softwarecenter/ui/gtk3/review_gui_helper.py
      as it belongs there and add to POTFILE.in

  [ Michael Nelson ]
  * lp:~michael.nelson/software-center/833982-purchased-app-not-available,
    lp:~michael.nelson/software-center/917137-previous-purchases-empty-precise-2:
    - refactor/cleanup parser code and update for API 2.0 (LP: #917137)
  * lp:~michael.nelson/software-center/every-comm-app-already-purchased:
    - non-purchased apps should not have '(already purchased)'
      appended to name.
  * lp:~michael.nelson/software-center/833982-previous-purchase-no-feedback-really-this-time:
    - Implements the backend for bug 833982 so that a purchased application
      that is unsupported on the current system will be detected
  * lp:~michael.nelson/software-center/833982-previous-purchase-no-feedback-2:
    - ensure that the deb_line for the app points to the current distroseries

  [ Danny Tamez ]
  * lp:~zematynnad/software-center/rename_host_var_918270:
    - rename the env variable SOFTWARE_CENTER_BUY_HOST to the more
      correct SOFTWARE_CENTER_AGENT_HOST, but support the former as a
      fallback, update corresponding unit test (LP: #918270)
  * lp:~zematynnad/software-center/version_number_833877:
    - show version number of apps from the software-center-agent as
      well (LP: #833877)

  [ Gary Lasker ]
  * lp:~gary-lasker/software-center/staging-certs-2:
    - add new SOFTWARE_CENTER_FORCE_DISABLE_CERTS_CHECK environment that
      can be used to disable cert checking to run e.g. against a local dev
      instance (LP: #918746)
 -- Michael Vogt <email address hidden> Tue, 24 Jan 2012 16:13:36 +0100

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