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)

x86
Windows 2000
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.2

People

(Reporter: yulian, Assigned: srilatha)

References

Details

(Whiteboard: Have a fix, requesting review)

Attachments

(2 files)

2001050904 build

Base scope doesn't work for autocompletion. "one Level" scope
works fine
Blocks: 17880
QA Contact: esther → yulian
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.
Er, remove it from the UI entirely, not the URI.
Or may be we can make one as default instead of base.
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?
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....
o.k will remove the base scope. will post a patch soon.
Priority: -- → P2
Target Milestone: --- → mozilla0.9.1
Keywords: nsbeta1
Summary: Base scope doesn't work for autocompletion → LDAP Base scope doesn't work for autocompletion
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).
ccing Mohan for a review
ccing Seth for an sr
Status: NEW → ASSIGNED
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
Mohan can you review this. thanks
Whiteboard: Have a fix, requesting review
r=mohanb
do you need to remove scopeBase.label from a dtd somewhere?
You are right. will updae the patch
looks fine to me.  sr=sspitzer
Fix checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Verified with 2001052304 wins build
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: