Hidden comments expander fails with out-of-order emails ("-1 comments hidden")

Bug #818456 reported by Paul Sladen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
j.c.sackett

Bug Description

In a bug with both:

  (a) out-of-order emailed comments
  (b) hidden comments (spam, vacation messages)

then Launchpad can print:

  "-1 comments hidden … view all NNN comments"

what probably should happen:

  (1) nothing is displayed in the case that the comments are hidden-hidden (as is the case here—clicking "view all" will not show them either)
  (2) a positive integer number of comments is displayed, reflecting what would be shown if the box is expanded

An example of the issue can be seen in bug #629258, although this may change change as more vacation messages are cleared up; in which case see the attached screenshot.

Related branches

Revision history for this message
Paul Sladen (sladen) wrote :
Aaron Bentley (abentley)
Changed in launchpad:
status: New → Triaged
importance: Undecided → High
Curtis Hovey (sinzui)
tags: added: bugs comments
Curtis Hovey (sinzui)
tags: added: regression
Changed in launchpad:
importance: High → Critical
assignee: nobody → Graham Binns (gmb)
Graham Binns (gmb)
Changed in launchpad:
assignee: Graham Binns (gmb) → nobody
Curtis Hovey (sinzui)
tags: added: disclosure
tags: added: information-type
j.c.sackett (jcsackett)
Changed in launchpad:
assignee: nobody → j.c.sackett (jcsackett)
j.c.sackett (jcsackett)
Changed in launchpad:
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
j.c.sackett (jcsackett)
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
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.