On 04.07.2013 16:44, [email protected] wrote:
Hi,

We are using seamonkey with lightning and sogo-groupware-addons
(http://www.sogo.nu/english/downloads/frontends.html). These are made
for TB17ESR but with little customization they worked fine here in
Seamonkey 2.14.1

Using SM 2.17.1 or 2.19 the following error appears (with functionality
loss in calendar-actions).

Error: [Exception... "Component returned failure code: 0x80004002
(NS_NOINTERFACE) [nsISupports.QueryInterface]"  nsresult: "0x80004002
(NS_NOINTERFACE)"  location: "JS frame ::
file:///C:/Programme/SeaMonkey/extensions/[email protected]/components/CalDAVACLManager.js
:: cDACLM__initAccountMgr :: line 1021"  data: no]
Quelldatei:
file:///C:/Programme/SeaMonkey/extensions/[email protected]/components/CalDAVACLManager.js


Line 1016-1021 :

_initAccountMgr: function cDACLM__initAccountMgr() {
         this.accountMgr =
Components.classes["@mozilla.org/messenger/account-manager;1"]

.getService(Components.interfaces.nsIMsgAccountManager);
         let defaultAccount = this.accountMgr.defaultAccount;

         let identities =
this.accountMgr.allIdentities.QueryInterface(Components.interfaces.nsICollection);


Any hints how to correct this?
Thanks in advance,
Gerd

On the ESR branch allIdentities is defined as:

http://mxr.mozilla.org/comm-esr17/source/mailnews/base/public/nsIMsgAccountManager.idl#84
readonly attribute nsISupportsArray allIdentities;

On the current comm-beta, -aurora, and -central it is defined as:

http://mxr.mozilla.org/comm-beta/source/mailnews/base/public/nsIMsgAccountManager.idl#83
readonly attribute nsIArray allIdentities;

Seems the type change was done in Bug 820377
https://bugzilla.mozilla.org/show_bug.cgi?id=820377

Maybe the bug comments and the attached patches provide information on how to update your code.

Stefan
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to