Closed
Bug 471461
Opened 17 years ago
Closed 17 years ago
Incorrect text displayed about groups when a bug is in a product which has only one group defined, with settings Mandatory/Mandatory
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.2
People
(Reporter: LpSolit, Assigned: LpSolit)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
|
3.85 KB,
patch
|
wicked
:
review+
|
Details | Diff | Splinter Review |
If a group is mandatory, even members of this group cannot remove the bug from that group, so this "warning" shouldn't be displayed to non-members. Also, if you belong to the group, all you get is the "Restrict Group Visibility:" label, with nothing displayed after it. This is confusing.
3.2 and tip are both affected. 3.0.6 is fine. This is a regression due to bug 374020.
Flags: blocking3.2.1+
| Assignee | ||
Updated•17 years ago
|
| Assignee | ||
Comment 1•17 years ago
|
||
Create the table + labels only if there is data to display.
Assignee: create-and-change → LpSolit
Status: NEW → ASSIGNED
Attachment #354756 -
Flags: review?(guy.pyrzak)
| Assignee | ||
Updated•17 years ago
|
Attachment #354756 -
Flags: review?(mkanat)
| Assignee | ||
Updated•17 years ago
|
Attachment #354756 -
Flags: review?(wicked)
Attachment #354756 -
Flags: review?(mkanat)
Attachment #354756 -
Flags: review?(guy.pyrzak)
Comment 2•17 years ago
|
||
Comment on attachment 354756 [details] [diff] [review]
patch, v1
>Index: template/en/default/bug/edit.html.tmpl
>===================================================================
>- <table class="bz_group_visibility_section">
On 3.2 branch this class doesn't exist so this first hunk didn't apply cleanly until I manually helped patch. Class was added in bug 214017. Remember to remove the class in the two table tags so it doesn't get added accidentally.
>+ <label id="bz_restrict_group_visibility_label"><b> Restrict Group Visibility</b>:</label>
Nit: Please, remove the unnecessary blank after <b> while you are here.
>+ [%+ 'checked="checked"' IF group.ison %]
>+ [%+ 'disabled="disabled"' IF NOT group.ingroup %]>
Nit: If you add these plusses then there's unnecessary newlines in the generated output. Please, remove them and add spaces before checked and disabled strings like it was in the old code.
Getting rid of the quoted quotes is a great change, though.
Attachment #354756 -
Flags: review?(wicked) → review+
Updated•17 years ago
|
Flags: approval?
Flags: approval3.2?
| Assignee | ||
Updated•17 years ago
|
Flags: approval?
Flags: approval3.2?
Flags: approval3.2+
Flags: approval+
| Assignee | ||
Comment 3•17 years ago
|
||
tip:
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.146; previous revision: 1.145
done
3.2:
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.125.2.17; previous revision: 1.125.2.16
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•