Closed
Bug 793262
Opened 13 years ago
Closed 13 years ago
JavaScript Error: "this_ is not defined" on any new calendar item
Categories
(Calendar :: Lightning Only, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.8
People
(Reporter: baffoni, Assigned: Fallen)
Details
Attachments
(1 file)
1.39 KB,
patch
|
mmecca
:
review+
|
Details | Diff | Splinter Review |
Thunderbird 15.0.1 release, Lightning 1.7:
I'm trying to setup a connection to our mail server (CGpro, 5.x), but when I put a new calendar entry, I get this error:
Timestamp: 9/21/2012 9:00:31 AM
Error: [Exception... "'[JavaScript Error: "this_ is not defined" {file: "file:///C:/Users/baffoni/AppData/Roaming/Thunderbird/Profiles/1cg1672l.baffoni/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calMemoryCalendar.js" line: 517}]' when calling method: [calIOfflineStorage::modifyOfflineItem]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///C:/Users/baffoni/AppData/Roaming/Thunderbird/Profiles/1cg1672l.baffoni/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calDavCalendar.js :: <TOP_LEVEL> :: line 778" data: yes]
The server is asking for auth, so I think I have my path set correctly.
Assignee | ||
Comment 1•13 years ago
|
||
Indeed, this is an error in the memory calendar when used as the offline cache and has been broken since 1.0 and bug 380060.
Normally you shouldn't run into this case though. Can it be that you have set the preference calendar.cache.type to memory? Setting back to the default ("storage") should work around the bug for now.
This patch should fix it, I haven't tested though.
Comment 2•13 years ago
|
||
Comment on attachment 663955 [details] [diff] [review]
Fix - v1
r=mmecca
Attachment #663955 -
Flags: review?(matthew.mecca) → review+
Reporter | ||
Comment 3•13 years ago
|
||
When I got to Tbird config editor and type "calendar.cache.type", nothing comes up, where do I go to check that preference?
Assignee | ||
Comment 4•13 years ago
|
||
Pushed to comm-central changeset 567a0c810399
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.0
Assignee | ||
Comment 5•13 years ago
|
||
Backported to releases/comm-aurora changeset bd445c8913dd
Target Milestone: 2.0 → 1.9
Assignee | ||
Comment 6•13 years ago
|
||
Backported to releases/comm-beta changeset f2ea5e2fa4f5
Target Milestone: 1.9 → 1.8
Assignee | ||
Comment 7•13 years ago
|
||
If that pref doesn't show up I really don't know why its happening to you. I hope this patch fixes it, otherwise we will have to dig a bit deeper. If you are comfortable modifying code, you could unpack your lightning.xpi, go into the calMemoryCalendar.js, and add:
cal.ERROR(cal.STACK(10));
to modifyOfflineItem. Then repack, install that Lightning and paste the stack here.
You need to log in
before you can comment on or make changes to this bug.
Description
•