Closed Bug 127276 Opened 23 years ago Closed 20 years ago

Create a "version fixed in" bug field

Categories

(Bugzilla :: Creating/Changing Bugs, enhancement, P4)

2.14.1
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 125283

People

(Reporter: rekle, Assigned: myk)

Details

There should be a "Version number bug fixed in" field. This field would allow the programmer to mark the bug as fixed in a particular version of the product. That way the QA department can verify that all bugs marked fixe din a certain version are actually fixed.
See bug 125283: "An additional Version No. field could be helpful". Dupe? Or are you talking about bug 79964 "[RFE] need more than one version per bug" ?
Priority: -- → P4
Target Milestone: --- → Future
Severity: normal → enhancement
Summary: Add a "version fixed in" field to bug. → Create a "version fixed in" bug field
OS: Windows 2000 → All
Hardware: PC → All
I'd say this is a dupe of bug 125283, someone want to mark it as such? This bug report as been untouched for 2 years
*** This bug has been marked as a duplicate of 125283 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Target Milestone: Future → ---
QA Contact: matty_is_a_geek → default-qa
My boss asked me to create a "target version" field immediately, yet I didn't find an elegant solution for that, thus I had to do it in a rude way: 1. create a custom field named "cf_version_target" with type "Free Text" ---------------------- 2. open bug/create/create.html.tmpl 3. locate to line 413 4. add these sentences under [% FOREACH field = Bugzilla.active_custom_fields %]: [% IF field.name == "cf_version_target"%] [% BREAK %] [% END %] 5. locate to anywhere you want this field shown (line 204 for example) 6. add sentences below: <tr> [% INCLUDE "bug/field-label.html.tmpl" field = bug_fields.cf_version_target editable = 1 rowspan = 4 %] <td rowspan="4"> <select name="cf_version_target" id="cf_version_target" size="5" aria-required="true" class="required"> [%- FOREACH v = version %] [% NEXT IF NOT v.is_active %] <option value="[% v.name FILTER html %]" [% ' selected="selected"' IF v.name == default.version %]>[% v.name FILTER html -%] </option> [%- END %] </select> </td> </tr> ---------------------- 6. open bug/edit.html.tmpl 7. locate to line 1184 8. add these: [% BLOCK select_version %] <td> [% IF bug.check_can_change_field(selname, 0, 1) AND bug.choices.${selname}.size > 1 %] <input type="hidden" id="[% selname %]_dirty"> <select id="[% selname2 %]" name="[% selname2 %]"> [% FOREACH x = bug.choices.${selname} %] [% NEXT IF NOT x.is_active AND x.name != bug.${selname2} %] <option value="[% x.name FILTER html %]" [% " selected" IF x.name == bug.${selname2} %]> [%- x.name FILTER html %] </option> [% END %] </select> [% ELSE %] [% bug.${selname} FILTER html %] [% END %] </td> [% END %] 9. locate to anywhere you want this field shown (line 289 for example) 10. add: <tr> [% INCLUDE "bug/field-label.html.tmpl" field = bug_fields.cf_version_target editable = 1 %] [% PROCESS select_version selname => "version" selname2 => "cf_version_target"%] </tr>
You need to log in before you can comment on or make changes to this bug.