Closed
Bug 192898
Opened 22 years ago
Closed 21 years ago
After upgrading to 2.17.3 all bugs in buglist have a lightgray background
Categories
(Bugzilla :: Query/Bug List, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: andreas.otte, Assigned: nobody)
References
Details
After upgrading to 2.17.3 from 2.17 all bugs in buglist have a lightgray
background. The problem seems to be in table.html.tmpl at line 137
<tr class="bz_[% bug.bug_severity %] bz_[% bug.priority %] [%+ "bz_secure" IF
bug.isingroups %]">
where bz_secure is set whenever a bug is in a group which is always true when
you use the group system on product level. The rule for bz_secure should also
check if the parameter for using the product-group system is set to off.
Comment 1•22 years ago
|
||
That wouldn't really work either, because I don't want it to create new groups
every time I create a new product (so I have that param off), but I still have
all my products locked down (most of them to the same group). It does look kind
of silly if you have a different-than-default background in your templates...
| Reporter | ||
Comment 2•22 years ago
|
||
So what could be the solution for this? This is a comment from buglist.css on
bz_secure:
/* Style secure bugs if the installation is not using bug groups.
* Installations that *are* using bug groups are likely to be using
* them for almost all bugs, in which case special styling is not
* informative and generally a nuisance.
*/
Currently the first line in the comment is ignored it seems.
Comment 3•22 years ago
|
||
maybe we need a checkbox in the group editor...
"use the bz_secure class in buglists for bugs in this group"
That would work for me, since I could care less if the bug is in its product's
group, but it's be useful to have it pointed out when it's restricted visibility
to the engineering department. :)
Comment 4•22 years ago
|
||
The other problem is that the definition of a 'secure' group is a great deal
larger in 2.17 than in 2.16, because of the rewrite.
Comment 5•22 years ago
|
||
This is a general problem.
To make sensible use of this type of highlighting when making real use of the
new groups system, I had to do some very site-specific hacks. See bug 186093
The real question is..... how should this work?
| Reporter | ||
Comment 7•22 years ago
|
||
I agree with Dave, it could be done this way. For now I have disabled bz_secure
at all in my installation.
Comment 8•22 years ago
|
||
Should this "work" at all? That is, should we not expect admins to style bugs
based on their groups themselves, according to their site-specific policies?
Gerv
Comment 9•22 years ago
|
||
Using single groups as in comment 3 does not really cover it well because it
ignores inheritance.
I found that the way to get meaningfull answers is to use a (disabled)
pseudo-user and style according to the question.... can pesudo_user see this?
Unfortunately, that is a bit slow for long lists.
| Reporter | ||
Comment 10•22 years ago
|
||
Currently bz_secure overwrites all other markings for blockers, enhancements,
etc. In an environment where every bug is in a group and bz_secure reacts on
that it makes only sense to deactivate it completely. So I would vote for a
single parameter that can switch off usage of bz_secure in buglists
independently from the group system.
Updated•21 years ago
|
Assignee: endico → nobody
Comment 12•21 years ago
|
||
Actually, if makeproductgroups is enabled, all bugs are going to be secure by
default. If we want to mimic the old behavior, we should skip bs_secure if
makeproductgroups is enabled.
Comment 13•21 years ago
|
||
(In reply to comment #12)
> Actually, if makeproductgroups is enabled, all bugs are going to be secure by
> default. If we want to mimic the old behavior, we should skip bs_secure if
> makeproductgroups is enabled.
Makes sense for 2.18, and short-term for the trunk. Long term perhaps we should
try to get a UI on that color-coding scheme you mentioned you had on your site
for setting colors based on who could see the bug :)
Comment 14•21 years ago
|
||
I believe this was fixed with the checkin to bug 252810, which styles secure
bugs with a padlock next to their IDs. Please reopen and maim me if it's still
an issue.
Comment 15•21 years ago
|
||
I think what's left over might be related to bug 179274 and bug 255512.
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•