Closed
Bug 312876
Opened 20 years ago
Closed 19 years ago
Make new products non-selectable until they have components.
Categories
(Bugzilla :: Query/Bug List, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: bugreport, Assigned: spam)
References
Details
Attachments
(1 file)
|
2.47 KB,
patch
|
Wurblzap
:
review+
|
Details | Diff | Splinter Review |
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.
| Reporter | ||
Comment 1•20 years ago
|
||
This must only effect query forms and the like, not admin pages.
Comment 2•20 years ago
|
||
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.
| Assignee | ||
Comment 3•20 years ago
|
||
this doesn't mention old charts ;-p
Attachment #235910 -
Flags: review?
Updated•20 years ago
|
Attachment #235910 -
Flags: review? → review+
Updated•20 years ago
|
Assignee: administration → bmo2007
Flags: approval?
Target Milestone: --- → Bugzilla 3.0
Updated•20 years ago
|
Flags: approval? → approval+
Comment 4•19 years ago
|
||
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
Closed: 19 years ago
Component: Administration → Query/Bug List
Resolution: --- → FIXED
Comment 5•19 years ago
|
||
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 %]
Comment 6•19 years ago
|
||
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.
Description
•