View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004280SOGoWeb Mailpublic2017-09-07 11:502017-11-14 09:01
Assigned Tofrancis 
StatusclosedResolutionno change required 
Platform[Server] LinuxOSDebianOS Version8 (Jessie)
Product Version3.2.10 
Target VersionFixed in Version 
Summary0004280: To: autocomplete form does not always display email
DescriptionWhen searching for users in the To field of a new e-mail, using 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 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.
Attached Filespng file icon sogo-autocomplete-nomail-bug.png [^] (19,584 bytes) 2017-09-07 11:50

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0012350)
francis (administrator)
2017-10-02 10:02

Please show the underlying JSON response:

https://<hostname>/SOGo/so/<login>/Contacts/allContactSearch?search=rémi [^]
Kyoshiro-san (reporter)
2017-10-04 05:33

Hi Francis,

Here is the json returned (after obfuscation):

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

It's still showing ... for all user's emails, except 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 ?

User avatar (0012353)
francis (administrator)
2017-10-04 14:23

Do you see all email addresses if you disable "SOGoLDAPContactInfoAttribute"?
Kyoshiro-san (reporter)
2017-10-05 04:28

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 11:50 Kyoshiro-san New Issue
2017-09-07 11:50 Kyoshiro-san File Added: sogo-autocomplete-nomail-bug.png
2017-10-02 10:02 francis Note Added: 0012350
2017-10-04 05:33 Kyoshiro-san Note Added: 0012352
2017-10-04 14:23 francis Note Added: 0012353
2017-10-05 04:28 Kyoshiro-san Note Added: 0012354
2017-11-14 09:01 francis Status new => closed
2017-11-14 09:01 francis Assigned To => francis
2017-11-14 09:01 francis Resolution open => no change required

Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker