Closed Bug 872101 Opened 11 years ago Closed 11 years ago

Import, Export, Printing is broken

Categories

(Calendar :: Import and Export, defect)

Lightning 2.5
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ssitter, Assigned: ssitter)

References

Details

(Keywords: regression)

Attachments

(1 file)

Lightning 2.5a2 (BuildID 20130514004002)

Trying to export, import or print of calendar is broken. No export/import formats or print formats are available for selection. Error Console shows many errors:

Error: SyntaxError: missing } after property list (file:///.../calendar-js/calIcsImportExport.js)
Source file: resource://calendar/modules/calUtils.jsm
Line: 50
 ----------
Error: TypeError: redeclaration of const calHtmlExporterClassID (file:///.../calendar-js/calHtmlExport.js)
Source file: resource://calendar/modules/calUtils.jsm
Line: 50
 ----------
Error: TypeError: redeclaration of const localeEn (file:///.../calendar-js/calOutlookCSVImportExport.js)
Source file: resource://calendar/modules/calUtils.jsm
Line: 50
 ----------
Error: TypeError: redeclaration of const calListFormatterClassID (file:///.../calendar-js/calListFormatter.js)
Source file: resource://calendar/modules/calUtils.jsm
Line: 50
 ----------
Error: TypeError: redeclaration of const calMonthPrinterClassID (file:///.../calendar-js/calMonthGridPrinter.js)
Source file: resource://calendar/modules/calUtils.jsm
Line: 50
 ----------
Error: TypeError: redeclaration of const calWeekPrinterClassID (file:///.../calendar-js/calWeekPrinter.js)
Source file: resource://calendar/modules/calUtils.jsm
Line: 50
 ----------
Error: calIcsImporter is not defined
Source file: file:///.../components/calImportExportModule.js
Line: 19
 ----------
Error: Components.classes[contractids[filterIndex]] is undefined
Source file: chrome://calendar/content/import-export.js
Line: 275
 ----------
Error: '[JavaScript Error: "Components.classes[contractids[filterIndex]] is undefined" {file: "chrome://calendar/content/import-export.js" line: 275}]' when calling method: [calIOperationListener::onOperationComplete] = NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS
Source file: resource://calendar/modules/calProviderUtils.jsm
Line: 658
Attached patch fix — — Splinter Review
Assignee: nobody → ssitter
Status: NEW → ASSIGNED
Attachment #749371 - Flags: review?(philipp)
Attachment #749371 - Flags: approval-calendar-aurora?(philipp)
Blocks: 868721
OS: Windows 7 → All
Hardware: x86_64 → All
Comment on attachment 749371 [details] [diff] [review]
fix

Thanks for the patch! r=philipp
Attachment #749371 - Flags: review?(philipp)
Attachment #749371 - Flags: review+
Attachment #749371 - Flags: approval-calendar-aurora?(philipp)
Attachment #749371 - Flags: approval-calendar-aurora+
Keywords: checkin-needed
Target Milestone: --- → 2.5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: