attachment added within a comment is sometimes hidden
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
William Grant |
Bug Description
In the current Launchpad (r16451) if you open a bug report with many comments, some of them are hidden and the info box at the end of the page reads something like the following:
"Displaying first 40 and last 40 comments. View all 155 comments or add a comment."
In this case an attachment added within a comment near the end of the page is not visible.
On the other hand, if you enable viewing all comments, the hidden attachment shows up.
You can reproduce the issue if you open the following two pages and look at the comment #154:
https:/
https:/
(See the attached picture.)
I'd say that an attachment added within a comment should be always shown if the comment is not hidden.
Related branches
- Kit Randel (community): Approve
-
Diff: 105 lines (+47/-5)3 files modifiedlib/lp/bugs/browser/bugtask.py (+2/-4)
lib/lp/bugs/interfaces/bugattachment.py (+1/-0)
lib/lp/bugs/tests/test_bug_messages_webservice.py (+44/-1)
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: bugs comments |
Changed in launchpad: | |
assignee: | nobody → William Grant (wgrant) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
One way of fixing this would be to have view filters for the comments, including "All Comments" and "Attachments Only". Choosing "Attachments Only" would usually reveal any hidden attachments, since >40 attachments is much less likely than >40 comments.