AutoComplete fails with LDAP and accented characters
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(thunderbird_esr78 wontfix, thunderbird90 affected)
People
(Reporter: algopirin2005ftw, Assigned: rnons)
References
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0
Steps to reproduce:
Using LDAP addressbook (and local ones as well).
There are names in it (mostly german), with (not-so-)special characters, such as "ö" and "ü" and so on.
Example A: "Jörg Börg", or another example B: "Jörg Borg".
Actual results:
When searching for any name in the LDAP Addressbook, it returns the expected results, regardless of special characters.
When composing a mail and using AutoComplete for address A, following happens:
- start typing "Bör...": it only gives suggestions from the local addressbook, but not from LDAP
- start typing "Jör...": same thing, no results from the LDAP, only from local adressbooks.
When trying the same with address B: - Autocomplete works and gives suggestions from the LDAP source as well, as it should.
When I type this isntead: "*Bör..." it finds the names from LDAP, but then it is giving suggestions from LDAP only.
This seems to happen all the time, when the second part of CommonName contains such a special accented character.
Expected results:
AutoComplete should suggest the adresses from LDAP the same way as the Addressbook search does.
Sorry for being vague, I don't know much about this.
Updated•3 years ago
|
Comment hidden (obsolete) |
Comment 2•3 years ago
|
||
What version were you using?
Do you still see this when using a newer version?
Reporter | ||
Comment 3•3 years ago
|
||
This is a very long standing bug. I have it since years, just not reported until I started using LDAP heavily.
Currently used version is 68.12.0 and it seems to work now?! Wow. So does 68.11.0.
Comment 4•3 years ago
|
||
Thanks for the update
Hopefully that continues in version 78
Reporter | ||
Comment 5•3 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #4)
Thanks for the update
Hopefully that continues in version 78
I have to report that I did find cases where it still doesn't work. Plus, it seems like middle names aren't parsed at all in compose.
Reporter | ||
Comment 6•3 years ago
|
||
Not working in 78.3.3
Reporter | ||
Updated•3 years ago
|
Comment 7•2 years ago
|
||
I am not finding any matching reports https://mzl.la/39S4uo8
Reporter | ||
Comment 8•2 years ago
|
||
There's always a first... What evidence do you need?
Reporter | ||
Comment 9•2 years ago
|
||
Here's a screenshot. on the left is the TB Addressbook, the test ldap server is selected. On the top, started typing in "Jürgen" and it finds two matches on "Jür".
Doing the same in compose window (on the right), only finds one match (apart from the other matches taht come from local adressbooks). Doesn't find "Hans-Jürgen" that way.
This is just an example. It does not have to be such a name. Another one: Name is "Uxyz Özcan". Typing in "Öz" finds it in Addressbook, but not in compose window.
Comment 10•2 years ago
•
|
||
Can you create a new profile https://support.mozilla.org/en-US/kb/using-multiple-profiles to see if this reproduces with beta https://archive.mozilla.org/pub/thunderbird/releases/90.0b2/ ?
beta implements new ldap code https://www-stage.thunderbird.net/en-US/thunderbird/90.0beta/releasenotes/
Reporter | ||
Comment 11•2 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #10)
Can you create a new profile https://support.mozilla.org/en-US/kb/using-multiple-profiles to see if this reproduces with beta https://archive.mozilla.org/pub/thunderbird/releases/90.0b2/ ?
beta implements new ldap code https://www-stage.thunderbird.net/en-US/thunderbird/90.0beta/releasenotes/
Tested it on a Win10 VM that never had Thunderbird installed before. Used the 64bit version of TB.
Unfortunatelly it behaves the same way as the current release.
Comment 12•2 years ago
|
||
(silly question) rnons, which component are we using for ldap?
Comment 13•2 years ago
|
||
And can you reproduce this?
Assignee | ||
Comment 14•2 years ago
|
||
The template string was overcomplicated, and only supported matching from beginning. This patch simplifies it to support matching substrings.
Updated•2 years ago
|
Assignee | ||
Comment 15•2 years ago
|
||
The problem is not accented characters, but the filter string only matches the beginning of name/email. My patch changes to match any substring.
(In reply to Wayne Mery (:wsmwk) from comment #12)
which component are we using for ldap?
The current component looks good to me.
Assignee | ||
Updated•2 years ago
|
Comment 16•2 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/d6a72e15b084
Change LDAP autocomplete template to match substrings. r=darktrojan
Reporter | ||
Comment 17•2 years ago
|
||
Seems to work in 91b1
Description
•