Closed Bug 210904 Opened 22 years ago Closed 16 years ago

getting javascript errors when composing if LDAP isn't build

Categories

(MailNews Core :: Composition, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

Details

Attachments

(1 file)

If you launch a compose window on a build where LDAP isn't build you get: JavaScript error: chrome://messenger/content/addressbook/pref-directory.js line 12: Components.classes['@mozilla.org/ldapprefs-service;1'] has no properties JavaScript error: chrome://messenger/content/addressbook/pref-directory.js line 65: gAvailDirectories has no properties ERROR: Cannot get the LDAP service TypeError: Components.classes['@mozilla.org/ldapprefs-service;1'] has no propert ies
Product: MailNews → Core
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Filter on "Nobody_NScomTLD_20080620"
QA Contact: esther → composition
Product: Core → MailNews Core
Still valid? How do I get LDAP not to build?
ac_add_options --disable-ldap, but you certainly won't get those two errors: ldapprefs-service is now nothing but an unused constant only in Tb's compose.js, gAvailDirectories is gone.
No longer an issue - see screenshot of Error Console after starting up one of Gozer's Win32 disable-LDAP builds. Thanks for the builds, Gozer!
(In reply to comment #6) > Created an attachment (id=374242) [details] > screenshot of Error Console > > No longer an issue - see screenshot of Error Console after starting up one of > Gozer's Win32 disable-LDAP builds. > > Thanks for the builds, Gozer! Actually I only get Error: gMsgCompose is null Source File: chrome://messenger/content/messengercompose/MsgComposeCommands.js Line: 2350 when opening up the Compose (Write) window with a mail account - this doesn't occur with a nightly Win32 build. So I suppose this isn't yet fixed?
Nevermind - I couldn't reproduce my steps for the gMsgCompose error, I no longer get any errors when I retry again. -> WFM.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: