Official tag lists shows "{count}" rather than a number on +manage-official-tags

Bug #670352 reported by Matthew Revell
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Deryck Hodge

Bug Description

Visit the page to manage official bug tags for a project.

If you're an LP admin, you could try: https://bugs.edge.launchpad.net/launchpad-web/+manage-official-tags

For some tags shown in the official bug tags list, there is a number beside the tag. Beside others the word "{count}" appears.

Related branches

Revision history for this message
Matthew Revell (matthew.revell) wrote :
Revision history for this message
Deryck Hodge (deryck) wrote :

I believe this is a regression based on Brian's recent work to manage official tags for bug supervisors.

Changed in malone:
status: New → Triaged
importance: Undecided → High
tags: added: regression
tags: added: ui
Revision history for this message
Brian Murray (brian-murray) wrote :

Actually, I think the {count} ones are actually tags for which there are 0 open bug reports.

Revision history for this message
Brian Murray (brian-murray) wrote :

At least that is the case with bugjam2010 and qa-needstesting and project in the description.

Revision history for this message
Brian Murray (brian-murray) wrote :

A cursory inspection of get_bug_tags_open_count in lib/lp/bugs/model/bug.py seems to indicate that the results of an SQL query are just returned so perhaps that would return {count}?

Revision history for this message
Deryck Hodge (deryck) wrote :

I ran locally reverting Brian's rev, so it's not a regression. Bad assumption on my part, sorry. Surprising that no one has reported a bug about this yet. It's actually a stupid js mistake. Branch forthcoming since it's a trivial fix.

tags: added: javascript
removed: regression
Changed in malone:
status: Triaged → In Progress
assignee: nobody → Deryck Hodge (deryck)
tags: added: trivial
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in malone:
milestone: none → 10.11
tags: added: qa-needstesting
Changed in malone:
status: In Progress → Fix Committed
Deryck Hodge (deryck)
tags: added: qa-ok
removed: qa-needstesting
Changed in malone:
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.