Closed
Bug 458436
Opened 16 years ago
Closed 16 years ago
Allow standard global select fields to control visibility of custom fields
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.4
People
(Reporter: mkanat, Assigned: mkanat)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
bbaetz
:
review+
|
Details | Diff | Splinter Review |
Now that we have bug 291433 (the ability for custom fields to control each others' visibility), we should allow some of our standard fields to also control visibility of fields.
Ideally, I'd like to do this by making bug/edit.html.tmpl use bug/field.html.tmpl for these standard fields, like the Product and Component fields. I'd also like to set them as FIELD_TYPE_SINGLE_SELECT in the database, and make Bugzilla::Field::Choice return the right type of subclasses for each of them (Bugzilla::Product, Bugzilla::Component, etc.), though that may be tricky and may require some work in blockers before we can do it.
Assignee | ||
Comment 1•16 years ago
|
||
Okay, I've got this working for all the normal select fields.
Summary: Allow certain normal fields to control visibility of custom fields → Allow standard global select fields to control visibility of custom fields
Assignee | ||
Comment 2•16 years ago
|
||
This allows all the standard "enum" fields to control the visibility of other fields.
Assignee | ||
Comment 3•16 years ago
|
||
Oops, I'd forgotten to also modify enter_bug.cgi.
Attachment #342285 -
Attachment is obsolete: true
Attachment #342387 -
Flags: review?(bbaetz)
Attachment #342285 -
Flags: review?(bbaetz)
Updated•16 years ago
|
Attachment #342387 -
Flags: review?(bbaetz) → review+
Comment 4•16 years ago
|
||
Comment on attachment 342387 [details] [diff] [review]
v2
The js comment from the other bug applies, but I assume that that will be fixed there
r=bbaetz apart from that
Assignee | ||
Comment 5•16 years ago
|
||
Putting in the approval queue until the blocker is ready.
Flags: approval?
Target Milestone: Bugzilla 4.0 → Bugzilla 3.4
Assignee | ||
Updated•16 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 6•16 years ago
|
||
Checking in editvalues.cgi;
/cvsroot/mozilla/webtools/bugzilla/editvalues.cgi,v <-- editvalues.cgi
new revision: 1.37; previous revision: 1.36
done
Checking in Bugzilla/Field.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Field.pm,v <-- Field.pm
new revision: 1.37; previous revision: 1.36
done
Checking in template/en/default/admin/custom_fields/cf-js.js.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/custom_fields/cf-js.js.tmpl,v <-- cf-js.js.tmpl
new revision: 1.2; previous revision: 1.1
done
Checking in template/en/default/admin/custom_fields/create.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/custom_fields/create.html.tmpl,v <-- create.html.tmpl
new revision: 1.11; previous revision: 1.10
done
Checking in template/en/default/admin/custom_fields/edit.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/custom_fields/edit.html.tmpl,v <-- edit.html.tmpl
new revision: 1.11; previous revision: 1.10
done
Checking in template/en/default/bug/edit.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/edit.html.tmpl,v <-- edit.html.tmpl
new revision: 1.136; previous revision: 1.135
done
Checking in template/en/default/bug/field.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/field.html.tmpl,v <-- field.html.tmpl
new revision: 1.20; previous revision: 1.19
done
Checking in template/en/default/bug/knob.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/knob.html.tmpl,v <-- knob.html.tmpl
new revision: 1.37; previous revision: 1.36
done
Checking in template/en/default/bug/create/create.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/create/create.html.tmpl,v <-- create.html.tmpl
new revision: 1.89; previous revision: 1.88
done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Flags: testcase?
You need to log in
before you can comment on or make changes to this bug.
Description
•