Closed Bug 1130002 Opened 9 years ago Closed 9 years ago

Lightning 3.7b1 not compatible with add-on Exchange Calendar. failure code 0x80570015

Categories

(Calendar :: General, defect)

Lightning 3.7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: u331436, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32.1
Build ID: 20150204202218

Steps to reproduce:

using SeaMonkey 2.32 (and now 2.32.1) with lightning 3.7b1 and Exchange EWS provider 3.3.1~RC2  ( https://github.com/Ericsson/exchangecalendar )


Actual results:

I get the following errors when starting Email (no error for my other calendars, either on Gmail or else). These errors appear within a small window each:

First error:

An error was encountered preparing the calendar located at https://auto/ for use. it will not be available.

Details

error Code: 0x80570015
Description: [Exception... "Component returned failure code: 0x80570015
(NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createinstance]" nsresult: "0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE)" location:
"JS frame :: resource//calendar/modules/calUtils.jsm -> file///c:/users//AppData/Roaming/Mozilla/Seamonkey/Profiles/xyz12345.default/extensions/ /calendar.js/CalCalendarManager.js :: cmgr_createCalendar :: line 440" data:no]

Second error:

An error was encountered preparing the calendar located at https://auto/< for use. it will not be available.

Details:
Error code: 0x TypeError: redeclaration of var attendee
Description: TypeError: redeclaration of var attendee

In my calendar list, this celander appear as greyed out and unavailable.


Expected results:

The Exchange Calendars should open without error and the those calendars should be available.
SeaMonkey 2.32 is based on Gecko 35 that changed how JavaScript variables are handled, see https://developer.mozilla.org/en-US/Firefox/Releases/35#JavaScript

It seem that the Exchange EWS provider extension has not been updated to the new behavior. From a first look the problem might be located in https://github.com/Ericsson/exchangecalendar/blob/v3.3.1-rc2/interfaces/exchangeBaseItem/mivExchangeBaseItem.js#L3811 because the variable attendee is already declared in https://github.com/Ericsson/exchangecalendar/blob/v3.3.1-rc2/interfaces/exchangeBaseItem/mivExchangeBaseItem.js#L3805 but there might be more incorrect usages.

Resolving as Invalid because this has to be fixed by the author of the Exchange EWS provider extension to support applications based on Gecko 35.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
I also got this error on upgrade of Thunderbird to 38.1 (redeclaration of var attendee). The problem was fixed by finding the latest version (3.4.0) of Exchange EWS Provider which nowdays has a different maintainer since I installed it first time (ver 3.2) which I guess is why i has not been updated for a long time.
(In reply to Petter Ă–sterlund from comment #3)
> I also got this error on upgrade of Thunderbird to 38.1 (redeclaration of
> var attendee). The problem was fixed by finding the latest version (3.4.0)
> of Exchange EWS Provider which nowdays has a different maintainer since I
> installed it first time (ver 3.2) which I guess is why i has not been
> updated for a long time.

Can you point to the repo of the new maintainer, please?
Here is the repo containing versions past 3.2: https://github.com/Ericsson/exchangecalendar/releases
You need to log in before you can comment on or make changes to this bug.