Closed
Bug 636058
Opened 12 years ago
Closed 12 years ago
Errors on import, mac only (Components.classes[contractids[fp.filterIndex]] is undefined)
Categories
(Calendar :: Import and Export, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.0b7
People
(Reporter: brucejparks, Assigned: Fallen)
Details
(Whiteboard: [needed beta][no l10n impact])
Attachments
(1 file)
3.15 KB,
patch
|
mmecca
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 Build Identifier: Lightning 1.0 beta2 Imports of .ics files consistently fail. Console message is - Error: An error occurred executing the calendar_import_command command: [Exception... "'[JavaScript Error: Attempts to import a calendar previously exported by both Lightning and Apple iCal fail. Console error message follows: "Components.classes[contractids[fp.filterIndex]] is undefined" {file: "chrome://calendar/content/import-export.js" line: 99}]' when calling method: [nsIController::doCommand]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/globalOverlay.js :: goDoCommand :: line 71" data: yes] Source File: chrome://global/content/globalOverlay.js Line: 75 Same files can be successfully imported into Apple iCal no problem. Reproducible: Always Steps to Reproduce: 1.Export a calendar to .ics file from any calendar software 2.Import into Lightning 3. Actual Results: Nothing. Console error listed in details above. Expected Results: Imported calendar data should appear.
Assignee | ||
Comment 1•12 years ago
|
||
Confirmed, getting this too.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Exports work, imports do not. → Errors on import, mac only (Components.classes[contractids[fp.filterIndex]] is undefined)
Assignee | ||
Updated•12 years ago
|
Flags: blocking-calendar1.0+
Assignee | ||
Comment 2•12 years ago
|
||
Strange, I'm not getting this bug anymore. I even tried with a new profile. Anyway, here is a patch that will at least work around the issue if it should show up.
Assignee | ||
Updated•12 years ago
|
Whiteboard: [not needed beta][no l10n impact][needs review]
Assignee | ||
Comment 3•12 years ago
|
||
Bruce, if you are still around, maybe you could test this patch, or maybe provide reliable steps to reproduce?
Comment 4•12 years ago
|
||
Comment on attachment 548117 [details] [diff] [review] Fix - v1 Tried to reproduce and observed another problem. I'm going to postpone the review.
Assignee | ||
Comment 5•12 years ago
|
||
Martin, I'd like to see this for the next release on Sept. 27th, do you think you could review this patch and/or fix the other problem you observed?
Whiteboard: [not needed beta][no l10n impact][needs review] → [needed beta][no l10n impact][needs review]
Comment 6•12 years ago
|
||
(In reply to Philipp Kewisch [:Fallen] from comment #5) > Martin, I'd like to see this for the next release on Sept. 27th, do you > think you could review this patch and/or fix the other problem you observed? Sorry, I won't be able to review/fix this in time.
Assignee | ||
Comment 7•12 years ago
|
||
Ok, I understand. Can you tell us about the problem you were observing?
Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 548117 [details] [diff] [review] Fix - v1 Matthew, could you give this a simple code review without testing?
Attachment #548117 -
Flags: review?(mschroeder) → review?(matthew.mecca)
Comment 9•12 years ago
|
||
Comment on attachment 548117 [details] [diff] [review] Fix - v1 Untested, but looks good codewise. r=mmecca
Attachment #548117 -
Flags: review?(matthew.mecca) → review+
Assignee | ||
Comment 10•12 years ago
|
||
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/d7118b9e976e> -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Trunk
Assignee | ||
Comment 11•12 years ago
|
||
Backported to comm-aurora <http://hg.mozilla.org/releases/comm-aurora/rev/894ab91e98b5>
Target Milestone: Trunk → 1.0b8
Assignee | ||
Comment 12•12 years ago
|
||
Backported to comm-beta <http://hg.mozilla.org/releases/comm-beta/rev/fb023863690b>
Target Milestone: 1.0b8 → 1.0b7
Assignee | ||
Updated•12 years ago
|
Whiteboard: [needed beta][no l10n impact][needs review] → [needed beta][no l10n impact]
You need to log in
before you can comment on or make changes to this bug.
Description
•