Closed
Bug 139786
Opened 24 years ago
Closed 24 years ago
Some LDAP attributes not returned in third party search
Categories
(SeaMonkey :: MailNews: Address Book & Contacts, defect)
SeaMonkey
MailNews: Address Book & Contacts
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: john.marmion, Assigned: john.marmion)
Details
Attachments
(1 file, 4 obsolete files)
|
4.22 KB,
patch
|
Details | Diff | Splinter Review |
OpenOffice.org(OOo) integrates with Mozilla's LDAP Address Book implementation.
OOo LDAP Query does not request the "card:nsIAbCard" but instead rqeuests a list
of attributes. The reason for bug #124022 was to request only the actual LDAP
attributes that Mozilla's supports. But a side effect of that change was the
list of attributes to be requested was created in reverse order than they appear
in the table on nsAbLDAPProperties.cpp. Thus e.g. a request to a Server which
supports "surname" and "sn" will return "surname" as it is requested first. But
mapping the Mozilla Attribute "LastName" to its corresponding LDAP attribute
will return "sn" as it appears first in the hash table. Thus no value will be
returned in this case as we have a misleading mismatch when comparing "surname"
and "sn". The proposed change does not effect the Mozilla LDAP functionality.
The problems associated with multiple LDAP attributes mapped to a single Mozilla
attribute was also raised in bug #126749.
| Assignee | ||
Comment 1•24 years ago
|
||
Updated•24 years ago
|
QA Contact: nbaca → yulian
Updated•24 years ago
|
Hardware: PC → All
Comment 2•24 years ago
|
||
Comment on attachment 80781 [details] [diff] [review]
simple patch to address this failure
r=dmose
Attachment #80781 -
Flags: review+
| Assignee | ||
Comment 3•24 years ago
|
||
no change in content but patch offsets are wrong.
Attachment #80781 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•24 years ago
|
||
I will chase after an "sr" for this patch again after keeping the patch
up-to-date against the head.
Attachment #90075 -
Attachment is obsolete: true
Comment 5•24 years ago
|
||
Comment on attachment 94921 [details] [diff] [review]
Keep patch up-to-date against the Head
after this change, p is only used one place.
so you can change:
const MozillaLdapPropertyRelation* p =
MozillaLdapPropertyRelator::findLdapPropertyFromMozilla(n.get());
if (!p)
continue;
to be:
// check if we support this property
if (!MozillaLdapPropertyRelator::findLdapPropertyFromMozilla(n.get()))
continue;
since your are changing this code, can you take a minute and rename "n" to
something that's more meaningful? There are two places in this file where we
are doing
nsCAutoString n;
Attachment #94921 -
Flags: needs-work+
| Assignee | ||
Comment 6•24 years ago
|
||
Patch updated as requested and use "nsCAutoString propertyName" rather than
"n".
Attachment #94921 -
Attachment is obsolete: true
Comment 7•24 years ago
|
||
Comment on attachment 95084 [details] [diff] [review]
Update patch as requested by review
sr=sspitzer
thanks for making the change.
I didn't see the other
"const MozillaLdapPropertyRelation* p". Can you change that (like you did for
"n") before checking in? no need for a new patch, unless dmose requires it.
Attachment #95084 -
Flags: superreview+
Comment 8•24 years ago
|
||
I don't need to see another patch. John, should this bug be re-assigned to you?
| Assignee | ||
Comment 9•24 years ago
|
||
Thanks guys. I will take ownership of this and check this in.
Attachment #95084 -
Attachment is obsolete: true
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 11•24 years ago
|
||
Fix checked in. marking as Fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•