OpenOffice.org integrates with the Mozilla Address Book using both the Mozilla Personal Address Books and the Mozilla LDAP Address Books. A recent change to Mozilla where the RDF data source is now based on the preference name of the Address Book source as opposed to been earlier based on the URI scheme means that OpenOffice.org fails when the LDAP Address Book is not a preference in Mozilla. The reason for changing the RDF data source to be based on the preference name is a very valid one. But in order for e.g. OpenOffice.org to intregrate with the LDAP Address Book, it would now have to update the Mozilla Preferences File. This should not be the role of a third-party product. Instead Mozilla should support both.
requested a review for this patch yesterday. r= wanted
The patch looks ok to me, assuming you get sspitzer to sr it and he's ok with it too. However, I'd like to see the comments changed to explain why that code works so that someone who's not familiar with the history of the codebase can easily see what's going on (ie explain what mURINoQuery is likely to contain). Reassigning to you, since you've got checkin priviledges now. :-)
Created attachment 79239 [details] [diff] [review] Update Patch with an explaination for this. Thanks for the feedback Dan. I have attempted to explain this patch and put it in context. Let me know if this is sufficient.
Comment on attachment 79239 [details] [diff] [review] Update Patch with an explaination for this. firstname.lastname@example.org
Comment on attachment 79239 [details] [diff] [review] Update Patch with an explaination for this. sr=sspitzer for mozilla, CopyCharPref() should succeed, so the code path doesn't change. thanks for adding the clear comment. if only more of the ab was so clear.
fix checked in.
John, you realize that if you need this on the 1.0 branch, there are other steps to go through, right?
Thanks Dan, I have mailed the email@example.com and requested this patch for inclusion into the mozilla 1.0 branch.
This fix is in the tree and the bug should have been marked resolved.
Yulian, as the reporter I can confirm that this bug is fixed if you need verification.
20020910 Trunk build on WIn2K Thank you, John! LDAP related functionalites are working fine. Marked as Verified.