pageid: feature rules are broken
Bug #855951 reported by
Curtis Hovey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Unassigned |
Bug Description
There is a combination of factors that lead non ~registry members to see the Hide comment action on the first comment of
bug 4730. The action does not work since the user does not have permission, it is just being displayed by the javascript when it should not.
I suspect the javascript is confused by the comment+status change from the email that made the first comment. Since this does not happen on subsequent comments in the bug, the position of the comment may also be a factor.
Changed in launchpad: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
This is because the rendered bugcomment is cached in memcache. From bugcomment-box.pt:
tal:content= "cache: authenticated noparam, comment/ rendered_ cache_time, comment/ index">
I guess this needs to not cache if show_spam_controls is true, or make show_spam_controls part of the key, or something.