Closed
Bug 77455
Opened 24 years ago
Closed 20 years ago
wire up LDAP autocomplete to compose window
Categories
(MailNews Core :: Composition, defect)
MailNews Core
Composition
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: dmosedale, Assigned: srilatha)
References
Details
Attachments
(3 files)
2.01 KB,
patch
|
Details | Diff | Splinter Review | |
2.27 KB,
patch
|
Details | Diff | Splinter Review | |
1.96 KB,
patch
|
Details | Diff | Splinter Review |
Reporter | ||
Updated•24 years ago
|
Reporter | ||
Comment 1•24 years ago
|
||
Reporter | ||
Comment 2•24 years ago
|
||
OK, I've just attached a proof of concept patch which hard-codes in the
directory server rather than getting it from prefs. Note that it also hardcodes
in the sizeLimit, filterTemplate, and outputFormat, none of which are yet (at
the time of this writing) used by nsLDAPAutoCompleteSession.
To use this, click on the "Show dependency tree" link, and apply the patches
from all the unresolved bugs that the dependency tree points to (there should be 7).
Then, apply the patch from this bug (it goes on top of one of hewitt's patches).
After rebuilding, LDAP autocomplete should work.
Reporter | ||
Comment 3•24 years ago
|
||
Actually, there's no patch in 69700 itself, so there are only patches from 6
bugs to apply before applying the patch in this one.
Assignee | ||
Comment 4•24 years ago
|
||
Assignee | ||
Comment 5•24 years ago
|
||
With this you can autocomplete in compose window using the directory server set
in the preferences.
Assignee | ||
Comment 6•24 years ago
|
||
Ccing Bhuvan for review
Assignee | ||
Comment 7•24 years ago
|
||
ccing Seth for sr
Comment 8•24 years ago
|
||
only one comment:
+ try {
+ prefs = Components.classes['@mozilla.org/preferences;1'];
+ prefs = prefs.getService();
+ prefs = prefs.QueryInterface(Components.interfaces.nsIPref);
+ }
+ catch (ex) {
+ dump("failed to get prefs service!\n");
+ prefs = null;
Don't need to add this code as the global variable prefs is alreay initialized and ready to bu used!
If you remove those line, R=ducarroz
Comment 9•24 years ago
|
||
please attach a new patch, with ducarroz's suggestions.
Comment 10•24 years ago
|
||
ducarroz / srilatha:
> document.getElementById('msgRecipient#1').setAttribute("searchSessions",
"addrbook ldap")
does that mean we only autocomplete on the first addressee only?
Assignee | ||
Comment 11•24 years ago
|
||
No. msgRecipient#1 is just a textbox id
Comment 12•24 years ago
|
||
sr=sspitzer
Comment 13•24 years ago
|
||
We use the first recipient row, which is the only one declared in xul, as a template for the other one created
dynamically. Therefore, yes, it will work...
Assignee | ||
Comment 14•24 years ago
|
||
Comment 15•24 years ago
|
||
R=ducarroz
Assignee | ||
Comment 16•24 years ago
|
||
Just checked it in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•24 years ago
|
Keywords: nsbeta1+,
nsenterprise
Target Milestone: --- → mozilla0.9.1
Comment 18•23 years ago
|
||
I'm not sure that this is still working, see bug 121415
Comment 19•23 years ago
|
||
Reopening as it seems something may have regressed this fix.
Updated•23 years ago
|
Target Milestone: mozilla0.9.1 → ---
Updated•21 years ago
|
Product: MailNews → Core
Comment 20•20 years ago
|
||
Bug 121415 is likely to have not been caused by a regression to this fix ->
resolving as fixed again
Status: REOPENED → RESOLVED
Closed: 24 years ago → 20 years ago
Resolution: --- → FIXED
Comment 21•20 years ago
|
||
Verifing the closure. Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9a1)
Gecko/20050815 SeaMonkey/1.0a
Status: RESOLVED → VERIFIED
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•