6.0.0-beta1
7/13/25

[#1284] Expanding names matching contact with multiple email addresses inserts first email address rather than giving combo box
Summary Expanding names matching contact with multiple email addresses inserts first email address rather than giving combo box
Queue IMP
Queue Version 4.0.1
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester dfloyd (at) nc (dot) rr (dot) com
Created 01/31/2005 (7468 days ago)
Due
Updated 03/17/2005 (7423 days ago)
Assigned 03/13/2005 (7427 days ago)
Resolved 03/17/2005 (7423 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/17/2005 08:50:46 PM Michael Rubinsky Comment #9
State ⇒ Resolved
Reply to this comment
No feedback.  Resolving.
03/13/2005 05:46:40 AM Michael Rubinsky Comment #8
State ⇒ Feedback
Reply to this comment
This should now be fixed in HEAD and FRAMEWORK_3.
03/12/2005 06:28:05 PM Chuck Hagenbuch Assigned to Michael Rubinsky
Taken from Horde DevelopersHorde Developers
 
03/12/2005 06:18:16 PM Michael Rubinsky Comment #7 Reply to this comment
I'll go ahead and take this one, I'm close to finishing this fix...
02/20/2005 01:56:56 PM horde-imp-bugs (at) suborbit (dot) com Comment #6 Reply to this comment
I can also confirm this issue.  I have the same problem.  I have added 
a secondary email field to my LDAP addressbook.  In the old IMP the 
expanded email list would include the new field.  In the new version 
the new email field won't appear in the expanded email list.



I would have thought this would be more common - since it's quite 
commonplace for a single person to have  more than one email address 
(home and work, say).  Maybe others simply have two addressbook 
entries for each of the contact email addresses - but I find this a 
little silly.
01/31/2005 08:31:07 PM Jan Schneider Priority ⇒ 1. Low
 
01/31/2005 08:30:36 PM Jan Schneider Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
01/31/2005 07:17:39 PM dfloyd (at) nc (dot) rr (dot) com Comment #5
New Attachment: attributes.php Download
Reply to this comment
My turba/config/attributes.php file. (Take 2)
01/31/2005 07:16:30 PM dfloyd (at) nc (dot) rr (dot) com Comment #4
New Attachment: turba_objects.mysql.sql Download
Reply to this comment
My turba/scripts/sql/turba_objects.mysql.sql file.
01/31/2005 07:15:49 PM dfloyd (at) nc (dot) rr (dot) com Comment #3
New Attachment: sources.php Download
Reply to this comment
My turba/config/sources.php file.
01/31/2005 07:14:54 PM dfloyd (at) nc (dot) rr (dot) com Comment #2
New Attachment: attributes.ph Download
Reply to this comment
My turba/config/attributes.php file.
01/31/2005 07:12:02 PM dfloyd (at) nc (dot) rr (dot) com Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Expanding names matching contact with multiple email addresses inserts first email address rather than giving combo box
Queue ⇒ IMP
State ⇒ Unconfirmed
Reply to this comment
I installed Horde 3.0.2, IMP 4.0.1, and Turba 2.0 alongside my

installation of Horde 2.2.6, IMP 3.2.6, and Turba 1.2.2.  In the old

version, I modified Turba to add two additional email addresses and a 
couple other fields to a contact's info by adding the appropriate 
lines to the turba_objects table, turba/config/source.php and 
turba/config/attributes.php.  I also selected the new fields to be 
searched by IMP in IMP's address book options.  When I do an "Expand 
Names" in an IMP compose window and what I have entered in one of the 
recipient fields matchs a contact with multiple email addresses, it 
tells me to resolve ambiguous names and I get a combo box to choose 
the correct email address.  Likewise, if I click "Address Book" in the 
IMP compose window, it will list all the email addresses for each 
contact.  In name view, it will repeat names in the list for each 
email that a contact has.



However, in the new version, I have done the same thing to add the

additional fields to Turba's contact info.  However, when I expand 
names in IMP, it just fills the text field in with the first email 
address in the contact

and doesn't give the combo box.  Likewise, when displaying the Address 
Book from the IMP compose window, the list only contains the first 
email address for each contact.



Searching appears to be working right because if I type a string into 
a recipient field that will only match the email address in one of the 
email fields I added, and then expand names, the contact is found, but 
as I said, the text field is filled in with the first email address 
rather than giving me a combo box of email addresses to chose from.   
It seems the contact isn't being recognized as being "ambiguous" 
because it has multiple email addresses like in the old version.   
Likewise, If I deselect the added email field in IMP Address Book 
options as a searchable field and do expand names again, the contact 
is not found, as expected.  Also, if I expand names on a string that 
matches multiple contacts, I get the combo box, but only with the 
first email address for each contact.



I have attached my turba/scripts/sql/turba_objects.mysql.sql, 
turba/config/sources.php and turba/config/attributes.php from my newer 
installation.


Saved Queries