Closed
Bug 437615
Opened 17 years ago
Closed 17 years ago
Exceptions when creating/editing/deleting an event/task/calendar or selecting/deselecting a calendar
Categories
(Calendar :: General, defect)
Calendar
General
Tracking
(Not tracked)
VERIFIED
FIXED
0.9
People
(Reporter: andreas.treumann, Assigned: dbo)
Details
(Keywords: regression)
Attachments
(2 files)
4.26 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
6.64 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
STEPS TO REPRODUCE: =================== - select/unselect a calendar in the calendar list box RESULT: ======= - error console throws exceptions Error: [Exception... "'JavaScript component does not have a method named: "onPropertyDeleting"' when calling method: [calIObserver::onPropertyDeleting]" nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "JS frame :: file:///C:/Documents%20and%20Settings/at93795/Application%20Data/Thunderbird/Profiles/bigaf98i.default2/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calUtils.js :: notifyFunc :: line 1674" data: no] Source File: file:///C:/Documents%20and%20Settings/at93795/Application%20Data/Thunderbird/Profiles/bigaf98i.default2/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calUtils.js Line: 1674 Error: [Exception... "'JavaScript component does not have a method named: "onPropertyDeleting"' when calling method: [calIObserver::onPropertyDeleting]" nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "JS frame :: file:///C:/Documents%20and%20Settings/at93795/Application%20Data/Thunderbird/Profiles/bigaf98i.default2/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calUtils.js :: notifyFunc :: line 1674" data: no] STACK: 1: [file:///C:/Documents%20and%20Settings/at93795/Application%20Data/Thunderbird/Profiles/bigaf98i.default2/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calUtils.js:1677] notifyFunc 2: [null:0] null 3: [file:///C:/Documents%20and%20Settings/at93795/Application%20Data/Thunderbird/Profiles/bigaf98i.default2/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calUtils.js:1680] calListenerBag_notify 4: [file:///C:/Documents%20and%20Settings/at93795/Application%20Data/Thunderbird/Profiles/bigaf98i.default2/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js:94] anonymous 5: [null:0] null Source File: file:///C:/Documents%20and%20Settings/at93795/Application%20Data/Thunderbird/Profiles/bigaf98i.default2/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calUtils.js Line: 1677 EXPECTED RESULT: ================ - no exceptions REPRODUCIBLE: ============= - always This exceptions occurs also at startup/refresh. last build with no errors: 2008060419 first build with errors: 2008060519
Flags: wanted-calendar0.9?
Reporter | ||
Updated•17 years ago
|
Assignee: nobody → Berend.Cornelius
You get a bunch of errors if you add a new calendar to a new profile too. There are 8 errors like above with: Error: [Exception... "'JavaScript component does not have a method named: "onPropertyChanged"' when calling method: [calIObserver::onPropertyChanged]" Error: [Exception... "'JavaScript component does not have a method named: "onCalendarAdded"' when calling method: [calICompositeObserver::onCalendarAdded]" Error: [Exception... "'JavaScript component does not have a method named: "onPropertyDeleting"' when calling method: [calIObserver::onPropertyDeleting]" If I try to re-install a previous version I get the error reported on Bug 437622 and Lightning doesn't work properly: today-pane without day in miniday, a date without sense (Jan 5555, CW 55), without lable in toolbar (events/tasks), agenda without today/tomorrow/soon sections, left pane without calendars list (calendar mode and task mode), task filter with options not active, and so on.
Assignee | ||
Updated•17 years ago
|
Flags: wanted-calendar0.9? → blocking-calendar0.9+
Comment 2•17 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.15pre) Gecko/2008060611 Calendar/0.9pre Similar errors appear when creating/editing/deleting an event or task: Error: 'JavaScript component does not have a method named: "onAddItem"' when calling method: [calIObserver::onAddItem] = NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED Error: 'JavaScript component does not have a method named: "onDeleteItem"' when calling method: [calIObserver::onDeleteItem] = NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED Error: 'JavaScript component does not have a method named: "onModifyItem"' when calling method: [calIObserver::onModifyItem] = NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED
Summary: select/unselect a calendar in the calendar list box -> exceptions in the error console → Exceptions when creating/editing/deleting an event/task/calendar or selecting/deselecting a calendar
Assignee | ||
Comment 3•17 years ago
|
||
__noSuchMethod__ cannot be used; see bug 371033
Assignee: Berend.Cornelius → daniel.boelzle
Status: NEW → ASSIGNED
Attachment #324181 -
Flags: review?(philipp)
Comment 4•17 years ago
|
||
Comment on attachment 324181 [details] [diff] [review] fix Damn bugs :-) r=philipp
Attachment #324181 -
Flags: review?(philipp) → review+
Assignee | ||
Comment 5•17 years ago
|
||
Checked in on HEAD and MOZILLA_1_8_BRANCH => FIXED.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.9
Reporter | ||
Comment 6•17 years ago
|
||
Bug is not fixed for deleting a calendar. Error console shows the exception again.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 7•17 years ago
|
||
Attachment #324271 -
Flags: review?(philipp)
Comment 8•17 years ago
|
||
Comment on attachment 324271 [details] [diff] [review] fix2 >+ getCalendar: function cLTV_getCalendar(index) { >+ if (index < 0) { >+ index = 0; >+ } else if (index >= this.mCalendarList.length) { >+ index = (this.mCalendarList.length - 1); >+ } >+ return this.mCalendarList[index]; >+ }, return this.mCalendarList[Math.max(0, Math.min(this.mCalendarList.length - 1, index))]; r=philipp
Attachment #324271 -
Flags: review?(philipp) → review+
Assignee | ||
Updated•17 years ago
|
Attachment #324271 -
Attachment description: fix → fix2
Assignee | ||
Comment 9•17 years ago
|
||
(In reply to comment #8) > return this.mCalendarList[Math.max(0, Math.min(this.mCalendarList.length - 1, > index))]; Hmm, quite compact, but IMO not very readable. Checked in on HEAD and MOZILLA_1_8_BRANCH => FIXED again.
Status: REOPENED → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 10•17 years ago
|
||
checked in lightning build 2008060918 -> VERIFIED
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•