Closed
Bug 348555
Opened 18 years ago
Closed 18 years ago
error when trying to create new event and there are no calendar
Categories
(Calendar :: Calendar Frontend, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 183396
People
(Reporter: damian.publicemail, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060813 Calendar/0.3a2+
I know that it does not make sense to create event when you do not have any calendar but when you have calendar tab closed you might not observe this fact and simply try to create by accident...
Have a look:
Reproducible: Always
Steps to Reproduce:
1. create new profile
2. delete Home calendar (it happens - eg. by accident)
3. double click in main view to create new event
-> error console
Error: document.getElementById("item-calendar").selectedItem has no properties
Source File: chrome://calendar/content/calendar-event-dialog.js
Line: 543
4. Now you have two options:
a) press OK just to check what happen if there are not calendar
-> errro console
Error: document.getElementById("item-calendar").selectedItem has no properties
Source File: chrome://calendar/content/calendar-event-dialog.js
Line: 109
b) press cancel to go back and create calendar
-> if so, cursor goes into waiting mode and will not go back into default (usually arrow)
Actual Results:
cursor = waiting mode
Expected Results:
error console should be empty and cursor should not goes into waiting mode
it looks like Sunbird stack but I can close it and start again, what is interesting for me that after restart Home calendar is visible, do did I delete it whether not?
this is quite complicated to catch all cases when there are no calendar and user try to do something...
so mayby just disable to delete last calendar? not sure...
Reporter | ||
Updated•18 years ago
|
Version: unspecified → Trunk
Comment 1•18 years ago
|
||
Additionally: After deleting the last calendar and restarting Sunbird, the calendar "Home" (location: moz-profile-calendar://) is restored, although it was not the last calendar. (Not tested with clean profile.)
Confirmed with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060818 Calendar/0.3a2+.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•18 years ago
|
||
Duplicate, see Bug 183396 Comment #10.
*** This bug has been marked as a duplicate of 183396 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 3•17 years ago
|
||
verified with
Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.8pre) Gecko/20070921 Calendar/0.7pre
impossible to remove the last calendar
Status: RESOLVED → VERIFIED
Flags: in-litmus?
You need to log in
before you can comment on or make changes to this bug.
Description
•