Sorting the list of previous purchases returns zero items
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Fix Released
|
Medium
|
Gary Lasker | ||
Precise |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[TEST CASE]
1. Prerequisite is to have purchased at least one item in Ubuntu Software Center.
2. Launch the current version of software-center in precise.
3. Open software-center and choose menu item "File"->"Reinstall Previous Purchases...".
4. In the list that is displayed, use the combo box in the upper right to sort the list by e.g. "By Name".
5. Verify that an empty list is displayed.
6. Close Software Center.
7. Install the new version of software-center in -proposed.
8. Repeat steps 3 and 4 for the new version of Software Center.
9. Verify that the list is now displayed and the items are sorted correctly.
[REGRESSION POTENTIAL]
This fix involves replacing some (broken) special-case code for the reinstall previous purchases feature, and so now we construct this list view in the same manner in which we construct all of the other list views. Therefore, the risk of regression is very low as all of the other list views are stable. To look for regressions, simply do repeated sortings of the reinstall previous purchases list (per step 4 above) and verify that a correctly sorted list is always returned.
---
davmor2 reports that sorting the list of previous purchases always returns zero results. To reproduce:
1. Prerequisite is to have purchased at least one item in Software Center.
2. Open software-center and choose menu item "File"->"Reinstall Previous Purchases...".
3. In the list that is displayed, use the combo box in the upper right to sort the list by e.g. "By Name".
What happens:
An empty list is displayed.
What should happen:
The full list appears, sorted by the selected criteria.
Note also that using the navigation buttons to navigate back to the previous view and back causes the list to reappear, correctly sorted by the selected criteria.
Related branches
- Michael Vogt: Approve
-
Diff: 83 lines (+11/-7)3 files modifiedsoftwarecenter/backend/channel.py (+2/-0)
softwarecenter/ui/gtk3/panes/availablepane.py (+9/-5)
softwarecenter/ui/gtk3/panes/softwarepane.py (+0/-2)
summary: |
- Sorting returns zero results in previous purchases view + Sorting the list of previous purchases returns zero items |
Changed in software-center (Ubuntu): | |
status: | New → Confirmed |
tags: | added: client-server |
Changed in software-center (Ubuntu): | |
importance: | Undecided → Medium |
Changed in software-center (Ubuntu): | |
assignee: | nobody → Gary Lasker (gary-lasker) |
Changed in software-center (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in software-center (Ubuntu): | |
status: | Triaged → In Progress |
Changed in software-center (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in software-center (Ubuntu Precise): | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
description: | updated |
This bug was fixed in the package software-center - 5.3.2
---------------
software-center (5.3.2) quantal-proposed; urgency=low
[ Gary Lasker ]
* lp:~gary-lasker/software-center/recommendations-string-change-lp986437-for-5.2
- cherry pick string change LP: #986437
[ Natalia Bidart ]
* lp:~nataliabidart/software-center/lost-in-translation:
- Pass the missing "self" argument to the super(ish) call to fix
crash in the installed pane
[ Michael Vogt ]
* merge fixes from the 5.2 branch:
- LP: #873104, #1003954, #967036, #920741
-- Michael Vogt <email address hidden> Thu, 28 Jun 2012 11:12:02 +0200