View Issue Details

IDProjectCategoryView StatusLast Update
0004280SOGoWeb Mailpublic2017-11-14 14:01
ReporterKyoshiro-san Assigned Tofrancis  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Platform[Server] LinuxOSDebianOS Version8 (Jessie)
Product Version3.2.10 
Summary0004280: To: autocomplete form does not always display email
Description

When searching for users in the To field of a new e-mail, using 3.2.10.20170907-1 version of SOGo, the autocomplete feature is not always displaying email address associated to the user entry.

It does not discriminate users having multiple emails only but also single email users.

Steps To Reproduce
  • Install version 3.2.10.20170907-1 of SOGo and configure it with LDAP addressbook
  • Connect to the webmail and start a new email
  • Start typing a user name you know exists
  • Name displays but emails don't always show up
TagsNo tags attached.

Activities

Kyoshiro-san

Kyoshiro-san

2017-09-07 15:50

reporter  

francis

francis

2017-10-02 14:02

administrator   ~0012350

Please show the underlying JSON response:

https://<hostname>/SOGo/so/<login>/Contacts/allContactSearch?search=rémi

Kyoshiro-san

Kyoshiro-san

2017-10-04 09:33

reporter   ~0012352

Hi Francis,

Here is the json returned (after obfuscation):

{"contacts": [{"hasPhoto": 1, "c_cn": "Rémi Sansfamille", "id": "remi.sansfamille", "c_uid": "remi.sansfamille@mydomain.com", "c_screenname": "", "c_component": "vcard", "c_telephonenumber": "", "c_name": "remi.sansfamille", "fn": "Rémi Sansfamille", "org": "MyDomain", "note": "Rémi Sansfamille", "emails": [{"value": "remi.sansfamille@mydomain.com"}, {"value": "rsf@mydomain.com"}, {"value": "remi@mydomain.com"}, {"value": "remi@otherdomain.fr"}, {"value": "remi.sansfamille@otherdomain.fr"}], "c_o": "MyDomain", "c_mail": ["remi.sansfamille@mydomain.com", "rsf@mydomain.com", "remi@mydomain.com", "remi@otherdomain.fr", "remi.sansfamille@otherdomain.fr"], "contactInfo": "Rémi Sansfamille"}], "searchText": "rémi"}

It's still showing ... for all user's emails, except remi@otherdomain.fr. With the real domain names, it's the shortest one.

It might be because the email text size exceeds the max length for display, but then maybe it would be good to increase it a bit (popup div seems a bit narrow), and show truncated emails like remi.s...rdomain.fr ?

Cheers

francis

francis

2017-10-04 18:23

administrator   ~0012353

Do you see all email addresses if you disable "SOGoLDAPContactInfoAttribute"?

Kyoshiro-san

Kyoshiro-san

2017-10-05 08:28

reporter   ~0012354

Indeed they all show up with this value disabled.
It was set up to SOGoLDAPContactInfoAttribute= displayName; which is the first + last name of the users.

Is this a legit value for this option ?
Anyways, without the option, it shows up each user's identities as "First Last email", so that's perfect, sorry if it was a misconfiguration on my side.

Best regards

Issue History

Date Modified Username Field Change
2017-09-07 15:50 Kyoshiro-san New Issue
2017-09-07 15:50 Kyoshiro-san File Added: sogo-autocomplete-nomail-bug.png
2017-10-02 14:02 francis Note Added: 0012350
2017-10-04 09:33 Kyoshiro-san Note Added: 0012352
2017-10-04 18:23 francis Note Added: 0012353
2017-10-05 08:28 Kyoshiro-san Note Added: 0012354
2017-11-14 14:01 francis Status new => closed
2017-11-14 14:01 francis Assigned To => francis
2017-11-14 14:01 francis Resolution open => no change required