Open Bug 445296 Opened 16 years ago Updated 8 years ago

No css colors applied when name of severity is changed

Categories

(Bugzilla :: User Interface, defect, P4)

defect

Tracking

()

People

(Reporter: tozda, Unassigned)

Details

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
This is normal behaviour.
If you change the value of your severities, you'll need to edit the .css files to reflect your changes.
See also bug 426222: renaming attributes is a bad idea, such things should be done using templates.
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
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.
Sorry that should have said bug 474877.
hello  , i would like to work on this, i am new user so how do i proceed ?
(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.