Closed
Bug 104927
Opened 23 years ago
Closed 23 years ago
Implement a mechanism for getLDAPAttributes() functionality
Categories
(Core :: Preferences: Backend, defect)
Core
Preferences: Backend
Tracking
()
People
(Reporter: mitesh, Assigned: mitesh)
References
()
Details
Attachments
(1 file, 2 obsolete files)
10.17 KB,
text/plain
|
Details |
Craeted a new bug to track the progress of getLDAPAttributes() feature on the trunk (original bug 75955)
Assignee | ||
Updated•23 years ago
|
QA Contact: sairuh → lrg
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
The attached JS file will be evaluated as a part of the fix for bug 89137 in the new AutoConfig JS context
Status: NEW → ASSIGNED
Comment 3•23 years ago
|
||
Should this bug now be resolved as a dup of 89137, since there appears to be a newer version of the patch there?
Assignee | ||
Comment 4•23 years ago
|
||
let's keep this open since bug 89137 is more of a new JS context for autoconfig while this bug is a JS version of getLDAPAttributes() which will be evaluated in that context. I will post the newer version of getldap.js here.
Assignee | ||
Comment 5•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Attachment #53647 -
Attachment is obsolete: true
Comment 6•23 years ago
|
||
Review comments: a) LDAPClass.prototype.QueryInterface: the comment is not correct, only a single interface is being implemented here. Because of this, XPConnect can take care of the QI for you; you should be able to throw out the entire QueryInterface method. b) .onLDAPMessage: the indenting and spacing in the switch clause make it hard to read; a more standard indentation strategy of switch (aMessage.type) { case aMessage.RES_BIND: this.onLDAPBind(aMessage); break; case aMessage.RES_SEARCH_ENTRY: ... would be easier, I think. c) the event queue service and the current event queue appear to be gotten in a couple of different places. Can you declare them in the global scope so that they only need to be gotten once? This should even work through callbacks, since JS functions are lexically closed. d) in all the error-handling, the code quietly returns nothing if there's a problem, which will make it difficult for admins to debug the scripts they are writing. Can we come up with a better strategy? Maybe throw up an nsIPrompt window with error info?
Assignee | ||
Comment 7•23 years ago
|
||
New patch with review comments addressed
Assignee | ||
Comment 8•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Attachment #54807 -
Attachment is obsolete: true
Assignee | ||
Comment 9•23 years ago
|
||
The new patch on bug 89137 will address this together with the other issues. *** This bug has been marked as a duplicate of 89137 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•