Hi,

some of you will be aware that OpenOffice.org (OOo)
integrates with Mozilla's Address Books. We have had
a problem for a while for which we have a work around 
but we have been unable to solve.

The problem first manifested itself with the introduction of 
a ProxyObject to handle a nsDNSListener object in the 
following source file: 

http://lxr.mozilla.org/seamonkey/source/directory/xpcom/base/src/nsLDAPConnection.cpp#246

The first time we call this it fails, every subsequent call 
after that succeeds. 

We have outlined this problem in greater detail at :

http://www.openoffice.org/issues/show_bug.cgi?id=6883

this bug also includes a workaround attachment patch which shows 
the changes necessary for OOo to work first time every time 
with Mozilla:

http://www.openoffice.org/issues/showattachment.cgi?attach_id=3171&file=patch-6883.txt

This problem can also be seen in the use of the ProxyObject
to handle  the nsILDAPMessageListener in the source file:

http://lxr.mozilla.org/seamonkey/source/mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp#394

Again, the first time that this is executed, it fails but
all subsequent calls succeeed.


We believe the problem may be in how we are initializing
with Mozilla but we have been unable to find any concrete 
handle on this. We would be grateful if anyone could shed 
any light on this or direct us to someplace that might.

thanks.

john.



Reply via email to