Currently, a new product appears on Search pages from the moment it is created until it has group restrictions. It should not appear until it has components.
This must only effect query forms and the like, not admin pages.
We could imagine something comparable to User::get_enterable_products(), i.e. products with no component nor version cannot have bugs, and so you cannot do anything with these products until they have at least one component and version. OK, makes sense.
Created attachment 235910 [details] [diff] [review] patch for tip this doesn't mention old charts ;-p
Attachment #235910 - Flags: review?
Assignee: administration → bmo2007
Target Milestone: --- → Bugzilla 3.0
Checking in template/en/default/search/form.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/search/form.html.tmpl,v <-- form.html.tmpl new revision: 1.44; previous revision: 1.43 done Checking in template/en/default/search/search-specific.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/search/search-specific.html.tmpl,v <-- search-specific.html.tmpl new revision: 1.18; previous revision: 1.17 done
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Component: Administration → Query/Bug List
Resolution: --- → FIXED
Unless I'm completely blind, this patch is missing some parts, such as in search-specific.html.tmpl when classifications are not in use: [% FOREACH p = product %] <option value="[% p.name FILTER html %]" [% " selected" IF lsearch(default.product, p.name) != -1 %]> [% p.name FILTER html %] </option> [% END %]
Oh. Your vision is all right, Frédéric. I'll review a corresponding patch.
You need to log in before you can comment on or make changes to this bug.