Milestone page should show the count of items assigned to you

Bug #391910 reported by James Westby
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Curtis Hovey

Bug Description

A grease monkey script was recently broken by changes to milestone page.

  Going to
      https://bugs.edge.launchpad.net/bzr/+milestone/2.0
  has the nice new counters at the top, but I see
      "0 blueprints - undefined assigned to you"
  which I assume should be "0 assigned to you"

The page could be doing this so that a grease-monkey script is not needed.

Revision history for this message
Diogo Matsubara (matsubara) wrote :

Does this still happen? I'm unable to reproduce. Can you attach a screenshot?

affects: launchpad → launchpad-registry
Changed in launchpad-registry:
status: New → Incomplete
Revision history for this message
Curtis Hovey (sinzui) wrote :

There is no occurrence of "assigned to you" relating to this page or any of the objects involve in the code base, so I believe this issues was fix by subsequent revisions to the page.

Changed in launchpad-registry:
status: Incomplete → Invalid
James Westby (james-w)
Changed in launchpad-registry:
status: Invalid → New
Revision history for this message
James Westby (james-w) wrote :

Hi,

I'm re-opening, sorry for missing the request for more information.

I'm attaching a screenshot that shows the problem still happens for
me on r8956.

Apologies if this is fixed but waiting for a rollout.

Thanks,

James

Revision history for this message
Curtis Hovey (sinzui) wrote :

Wow. I cannot see how you are getting that. We are both seeing the same page on edge.

The specification_count_text method does this:
    count = len(self.specifications)
    return '<strong>%d blueprints</strong>' % count
which I can see from the image is "0 blueprints" in a <strong> tag.

The page calls specification_count_text:
    <span id="specification-count" style="color: #3594bb;"
      tal:content="structure view/specification_count_text">2 blueprints</span>
    <tal:and condition="view/has_bugs_or_specs">and</tal:and>

So there is no " - <number> assigned to you" that can be generated. Since the colour is blue, I know the phantom information is in the span.

This leads me ask two questions.
1) Are you running any grease-monkey scripts that rewrites this page?
2) Do you think this hacked feature should really be supported by the code?

Changed in launchpad-registry:
status: New → Incomplete
Revision history for this message
James Westby (james-w) wrote : Re: [Bug 391910] Re: "undefined assigned to you" on milestone page

Curtis Hovey wrote:
> Wow. I cannot see how you are getting that. We are both seeing the same
> page on edge.

It is indeed a greasemonkey script, my apologies. After you mentioned it
I disabled greasemonkey and the "assigned to you" parts went away.

Apologies for the noise, I never thought to check greasemonkey.

I think this would be an interesting thing to add to the milestone
pages though :-)

Thanks,

James

Curtis Hovey (sinzui)
summary: - "undefined assigned to you" on milestone page
+ Milestone page should show the count of items assigned to you
description: updated
tags: added: feature
Changed in launchpad-registry:
importance: Undecided → Low
status: Incomplete → Triaged
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: Triaged → In Progress
assignee: nobody → Curtis Hovey (sinzui)
milestone: none → 3.0
Revision history for this message
Curtis Hovey (sinzui) wrote :

Fixed in launchpad devel r9421.

Changed in launchpad-registry:
status: In Progress → Fix Committed
Revision history for this message
Curtis Hovey (sinzui) wrote : Bug 391910 Fix released

Fixed released in launchpad-project 3.0.

Changed in launchpad-registry:
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.