Closed Bug 307270 Opened 19 years ago Closed 19 years ago

displayed URLs when no product is given in editcomponents.cgi are wrong

Categories

(Bugzilla :: Administration, task)

2.20
task
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

(Whiteboard: [blocker will fix for 2.22])

Attachments

(1 file)

admin/components/select-product.html.tmpl uses the following URL:

[% bug_count_contentlink = BLOCK %]buglist.cgi?component=%%name%%&product=
  [%- product FILTER url_quote %][% END %]

It should clearly be:

[% bug_count_contentlink = BLOCK %]buglist.cgi?product=%%name%%[% END %]


Other admin/*/select-product.html.tmpl files have this bug too, but these links
are never displayed. For these files, either 'showbugcounts=1' should be
available, or this unused code should be removed.
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 2.20
Depends on: 307604
This patch is for 2.20 only. The blocker will fix for 2.22.
Attachment #195763 - Flags: review?(bugzilla)
Whiteboard: [blocker will fix for 2.22]
Comment on attachment 195763 [details] [diff] [review]
patch for 2.20, v1

Yes, OK. It would be nice to remove the redundant code from the other
select-product pages, but not now
Attachment #195763 - Flags: review?(bugzilla) → review+
Flags: approval2.20?
Flags: approval2.20? → approval2.20+
2.20 only:

Checking in template/en/default/admin/components/select-product.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/components/select-product.html.tmpl,v
 <--  select-product.html.tmpl
new revision: 1.1.8.1; previous revision: 1.1
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: