Closed
Bug 79756
Opened 23 years ago
Closed 23 years ago
LDAP Base scope doesn't work for autocompletion
Categories
(SeaMonkey :: MailNews: Address Book & Contacts, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.2
People
(Reporter: yulian, Assigned: srilatha)
References
Details
(Whiteboard: Have a fix, requesting review)
Attachments
(2 files)
2.19 KB,
patch
|
Details | Diff | Splinter Review | |
2.98 KB,
patch
|
Details | Diff | Splinter Review |
2001050904 build Base scope doesn't work for autocompletion. "one Level" scope works fine
Comment 1•23 years ago
|
||
The scope "base" would mean an addressbook with only a single address. I was thinking about this, and I find it pretty hard to imagine why someone would ever want to use this, for autocomplete or otherwise (dunno why this didn't occur to me when we were designing it). Leif came up with one possible scenario, but said it would be insanely rare and not a very good architecture besides. So I'm inclined to suggest that we just remove base from the URI entirely. If someone really really wants to do it, they could stilll edit prefs.js.
Comment 2•23 years ago
|
||
Er, remove it from the UI entirely, not the URI.
Assignee | ||
Comment 3•23 years ago
|
||
Or may be we can make one as default instead of base.
Comment 4•23 years ago
|
||
One-level does sounds like a good default, but it seems like it would still make sense to remove base if essentially noone is going to use it.
I agree with the assertion that adding UI that is easy to change and hard to understand which has functionality breaking potential should be removed. If we're very sure that no one has a use for Base Scope then it should be removed. Which also brings up the question, what is Subtree Scope for? Recursive queries?
Comment 6•23 years ago
|
||
No, it just tells the server what part of the LDAP tree to search. Whether you would use subtree or onelevel depends on the topology of the LDAP schema deployed by your IS department. Somewhere around here I probably have an LDAP book that goes into more detail....
Assignee | ||
Comment 7•23 years ago
|
||
o.k will remove the base scope. will post a patch soon.
Priority: -- → P2
Target Milestone: --- → mozilla0.9.1
Summary: Base scope doesn't work for autocompletion → LDAP Base scope doesn't work for autocompletion
Comment 8•23 years ago
|
||
I'd strongly recommend using subtree search as the default. It's what a "normal" user would expect from a search. Very Poor Analogy(tm): You search a PacBell Phonebook, "one-level" search limits you to the first page in each section (all the first A's, then the first B's etc), while a subtree search would look at all pages. Clearly a user wants to search the entire phonebook, not just one page in. Subree is also the search done by default in all known Phonebook applications, as well as Communicator 4.x (I'm pretty sure).
Assignee | ||
Comment 9•23 years ago
|
||
Assignee | ||
Comment 10•23 years ago
|
||
ccing Mohan for a review ccing Seth for an sr
Status: NEW → ASSIGNED
Comment 11•23 years ago
|
||
Setting target milestone to 0.9.2 (check it in anytime, even before, when the tree is open for). Per PDT triage.
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Assignee | ||
Comment 12•23 years ago
|
||
Mohan can you review this. thanks
Whiteboard: Have a fix, requesting review
Comment 13•23 years ago
|
||
r=mohanb
Comment 14•23 years ago
|
||
do you need to remove scopeBase.label from a dtd somewhere?
Assignee | ||
Comment 15•23 years ago
|
||
You are right. will updae the patch
Assignee | ||
Comment 16•23 years ago
|
||
Comment 17•23 years ago
|
||
looks fine to me. sr=sspitzer
Assignee | ||
Comment 18•23 years ago
|
||
Fix checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•