← Back to team overview

desktop-packages team mailing list archive

[Bug 777583] Re: Reviews sorting should use upstream version

 

** Tags added: testcase

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/777583

Title:
  Reviews sorting should use upstream version

Status in “software-center” package in Ubuntu:
  Fix Released
Status in “software-center” source package in Natty:
  Fix Released

Bug description:
  Binary package hint: software-center

  Software Center version 4.0.1

  We currently sort reviews in Software Center's details view based on
  upstream version number of the package, followed by "usefulness" of
  the review as voted by users, and lastly by date of the review. With
  the version comparison, reviews for previous upstream versions are
  pushed later in the list and are tagged with the line "This review was
  written for a previous version of <packagename> (Version: <upstream
  version number>)".

  For some packages, however, the sorting by usefulness for a given
  upstream package version is incorrect. For an example of this, see the
  attached screenshot that shows the list of reviews for the Inkscape
  package and note that the review by "dreamsare4living" with a
  usefulness of "3 out of 3" is incorrectly located *above* the review
  by "Erik B. Anderson" with a usefulness of "4 out of 4". Instead, the
  reviews should be sorted from highest usefulness to lowest for any
  given upstream version.

  TEST CASE:
  1. Open Software Center version 4.0.1.
  2. Navigate to the Inkscape package details view.
  3. Examine the list of reviews and note that the initial set of reviews for the current version of Inkscape are not correctly sorted by usefulness rating, current reviews as shown:
      8 of 8 people...
      4 of 4 people...
      3 of 3 people...
      4 of 4 people...  <-- this review is out of order
      3 of 5 people...
  4. Close Software Center and install version 4.0.2 from natty-proposed.
  5. Open Software Center version 4.0.2 and navigate back to Inkscape.
  6. Verify that the reviews are now sorted correctly by usefulness, as shown for current reviews:
      8 of 8 people...
      4 of 4 people...
      4 of 4 people...
      3 of 3 people...
      3 of 5 people...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/777583/+subscriptions