Closed Bug 392625 Opened 13 years ago Closed 13 years ago
Category names with non-word characters get saved incorrectly in prefs
.js, thus breaking color coding
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:22.214.171.124) Gecko/20070725 Firefox/126.96.36.199 Build Identifier: 0.7pre (2007081705) with Thunderbird 188.8.131.52pre (20070816) Category names that contain non-word characters followed by spaces get saved incorrectly in prefs.js. This breaks color coding because the view can't locate the expected category name. Reproducible: Always Steps to Reproduce: 1. Create a category named "Holiday / Vacation" or "Work - Teleconference" with a color applied 2. Create an event using one of those categories 3. View in week/month/etc. view - the colors are broken 4. View prefs.js or about:config Actual Results: Category is saved as "calendar.category.color.vacation_/ holiday" Notice the fact that the space trailing the / was not converted to an underscore. This occurs with many non-word characters. Expected Results: Non-word characters such as slash, dash, etc. should not break category names in prefs.js
Does this still occur in recent nightlies since bug 412258 was fixed? Patch just submitted for bug 321010 (part1: illegal chars) should address any other chars that cause the category style rule to fail.
Depends on: 321010
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 321010
You need to log in before you can comment on or make changes to this bug.