Calendars are not loaded when using categories that contain double quotation marks

VERIFIED FIXED in 0.8

Status

Calendar
Preferences
VERIFIED FIXED
11 years ago
11 years ago

People

(Reporter: Christoph Eicke, Unassigned)

Tracking

unspecified

Details

(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Firefox/2.0.0.11
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4pre) Gecko/20070614 Sunbird/0.5

When using double quotation marks within category names, Sunbird and Lightning will refuse to load the calendars into the calendar overview sidebar (in my case, these are loaded from a DAV server). The entries from the calendar are however shown in the main view of the calendar. One is also not able to create new events or tasks, if one selects the corresponding action, nothing happens.
In the preference file, the double quotation marks are escaped with a backslash, however this doesn't solve the problem.
When the offending entries are removed or the double quotation marks are removed from the category name in the color and category section, everything works correctly.

Reproducible: Always

Steps to Reproduce:
1. create a category with a name like: testcategory "test"
2. close and re-open sunbird of thunderbird with lightning plugin
Actual Results:  
The calendars are not shown in the calendar overview and one cannot add/edit/delete calendar events or tasks.

Expected Results:  
The calendars should be shown in the calendar overview sidebar, one should be able to create events or tasks.
Does the issue still exists in Sunbird 0.7 release build?
Does the issue still exists in Sunbird 0.8pre nightly test builds?
Do you see any calendar related error messages in the Error Console?
Can you attach a testcase as a minimized .ics file?
(Reporter)

Comment 2

11 years ago
Sunbird 0.7 release build: issue still exists
Sunbird 0.8pre build from 03.12.07: issue still exists

The error console (in the nightly build) reads:

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: 459"]

There is no need for a minimized .ics file, one only needs to add a category within sunbird. There doesn't even need to be an event that uses that category within a calendar. I have also confirmed the bug with locally stored calendars.
Keywords: relnote
Summary: (Remote) Calendars are not loaded when using categories that contain double quotation marks → Calendars are not loaded when using categories that contain double quotation marks

Comment 3

11 years ago
Patch just submitted to bug 321010 (part1: illegal chars) should fix this if it is accepted.
Depends on: 321010

Comment 4

11 years ago
Christoph, can you please retest this as the patch for bug 321010 has landed.
(Reporter)

Comment 5

11 years ago
The patch seems to resolve the issue, I wasn't able to reproduce the error with the latest nightly build.

Comment 6

11 years ago
FIXED by the patch in bug 321010.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 11 years ago
Keywords: relnote
Resolution: --- → FIXED
Target Milestone: --- → 0.8

Comment 7

11 years ago
Checked with nightly build 20080214 (lightning and sunbird) -> task is fixed and verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.