All users were logged out of Bugzilla on October 13th, 2018

No css colors applied when name of severity is changed

NEW
Unassigned

Status

()

P4
trivial
10 years ago
2 years ago

People

(Reporter: tozda, Unassigned)

Tracking

Details

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: 3.0.2

After changing severity values from default to custom, buglist.cgi shows list of bugs without colours assigned to blockers, criticals and enhancements. It is enough to change name from lowercase to uppercase (first letter).

Reproducible: Always

Steps to Reproduce:
1. Go to 'Field values' -> Severity page (editvalues.cgi?field=bug_severity)
2. Change value 'blocker' to 'Blocker'
3. Commit chagnes
4. Run checksetup.pl
5. Go to buglist.cgi with suitable parameters
Actual Results:  
Defects with severity 'Blocker' are not bolded and red

Expected Results:  
Defects with severity 'Blocker' are bolded and red

Comment 1

10 years ago
This is normal behaviour.
If you change the value of your severities, you'll need to edit the .css files to reflect your changes.

Comment 2

10 years ago
See also bug 426222: renaming attributes is a bad idea, such things should be done using templates.

Comment 3

10 years ago
I think this is sort of a valid, if low-priority, bug. We could somehow key the CSS against the current values or something.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Priority: -- → P4
Hardware: PC → All

Comment 4

9 years ago
I've just bumped into this one.

I think that saying "If you change the value of your severities, you'll need to edit the .css files to reflect your changes." is a problem.

You can change the values of the severities from the Gui, but you can't change the styles.  And there is no warning of that.  One of my team changed the severities and we then never saw the styles used.
Perhaps you should either be able to change both, or neither ?
Or the styles should not be keyed directly to the values of the severities ?  Perhaps they should be stored as numbers with a table to look them up as strings.  Then the styles would only need to refer to the numbers.

This would also address the filtering of illegal characters mentioned in some other bugs - bug 374473, bug 478877.

Comment 5

9 years ago
Sorry that should have said bug 474877.

Comment 6

2 years ago
hello  , i would like to work on this, i am new user so how do i proceed ?

Comment 7

2 years ago
(In reply to mgsudhanva from comment #6)
> hello  , i would like to work on this, i am new user so how do i proceed ?

The wiki (https://wiki.mozilla.org/Bugzilla:Developers) and the Developer's Guide (https://www.bugzilla.org/docs/developer.html) covers most of what you need.

If you have questions about specific topics, don't hesitate to ask on IRC or the mailing list.
You need to log in before you can comment on or make changes to this bug.