Closed Bug 305755 Opened 19 years ago Closed 19 years ago

JS errors when selecting calendars, impossible to select calendar if all are unchecked

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 305754

People

(Reporter: marckost, Assigned: mostafah)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8b4) Gecko/20050823 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050823 Mozilla Sunbird/0.2+

There are lots of problems with calendar selection and all of them give the same
JavaScript Console errors:

Error: this.parentNode has no properties
Source File: chrome://global/content/bindings/listbox.xml
Line: 761

Problems I found:
- when a calendar is first unchecked and then checked it is impossible to
uncheck it again,
- when all calendars are unchecked it is impossible to check any of them,
- random checking and unchecking of calendars (as long as at least one is
checked) gives strange results, seems like a puzzle game and I can't find the
logics behind this behaviour yet.

Reproducible: Always

Steps to Reproduce:
1. Create several calendars to populate the list
2. Play around with checking and unchecking them
3.

Actual Results:  
Following error appears in JavaScript Console:

Error: this.parentNode has no properties
Source File: chrome://global/content/bindings/listbox.xml
Line: 761

If all calendars are unchecked it is impossible to check any. Calendar can only
be deselected and selected once.

Expected Results:  
None of the above should happen.
Version: unspecified → Trunk
Sounds like bug 305597, which was fixed yesterday.  Can you try again when
today's nightly becomes available?
Sounds similar, I'll give it a try and report the results.

Was the patch for 305597 in any way connected with the JavaScript Console error
I had?
it's a dup of bug 305754 for sure (which might be a dup of bug 305597)

*** This bug has been marked as a duplicate of 305754 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.