Closed
Bug 405356
Opened 17 years ago
Closed 16 years ago
Missing created calendars under calendar list if using characters like "čćžđš" or more than one word in defining categories under preferences
Categories
(Calendar :: Preferences, defect)
Calendar
Preferences
Tracking
(Not tracked)
RESOLVED
FIXED
0.8
People
(Reporter: code, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.8pre) Gecko/20071023 Sunbird/0.7 When using characters like "čćžđš" or more than one word in defining categories under preferences created calendars disappear from calendars list. Editing the file prefs.js located under "%DRIVE%:\Documents and Settings\%USER%\Application Data\Mozilla\Sunbird\Profiles\jtd9n8iz.default\" brings back the calendars but arouses a new problem: removes the color attribute from the category. It seams that the problem is in referencing categories under prefs.js file. The example is below. user_pref("calendar.categories.names", "Dobavljači,Državni praznici,Godišnjice,Verski praznici"); user_pref("calendar.category.color.dobavlja\ri", "#33CCFF"); user_pref("calendar.category.color.dr~avni_praznici", "#FFCC33"); user_pref("calendar.category.color.godianjice", "#FFCC33"); user_pref("calendar.category.color.verski_praznici", "#6600CC"); It is obvious that categories names are not referenced as in the array defined before and using cars like "čćžđš" adds to the trouble. Error console logs this error "Error: uncaught exception: [Exception... "An invalid or illegal string was specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)" location: "chrome://calendar/content/calendar-views.js Line: 406"]". Reproducible: Always Steps to Reproduce: 1. Under preferences/categories define categories using more than one word with letters like "čćžđš". Define colors for the categories. 2. Exit the Calendar. Start the Calendar. 3. Actual Results: If there were calendars before editing the categories, after following the described steps there should be no calendars under the calendar list.
Comment 1•17 years ago
|
||
Seems identical to Bug 355874 and maybe related to Bug 321010.
Updated•16 years ago
|
OS: Windows XP → All
Hardware: PC → All
Summary: Missing created calendars under calendar list if using characters like "čćžđš" or more than one word in defining categories under preferencies. → Missing created calendars under calendar list if using characters like "čćžđš" or more than one word in defining categories under preferences
Space char issue was addressed in bug 412258. Patch just submitted to bug 321010 should fix unicode char > 0xff issue.
Depends on: 321010
Comment 3•16 years ago
|
||
If it's about disappearing calendars WFM using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13pre) Gecko/20080209 Calendar/0.8pre and Lt 2008020902 and Tb 2.0.0.9
Patches checked in, should be fixed. (In reply to comment #2) > Space char issue was addressed in bug 412258. > Patch just submitted to bug 321010 should fix unicode char > 0xff issue. > (In reply to comment #3) > If it's about disappearing calendars WFM using Mozilla/5.0 (Windows; U; Windows > NT 5.1; en-US; rv:1.8.1.13pre) Gecko/20080209 Calendar/0.8pre and Lt 2008020902 > and Tb 2.0.0.9 >
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Target Milestone: --- → 0.8
You need to log in
before you can comment on or make changes to this bug.
Description
•