6.0.0-git
2019-03-24

[#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 2005-01-31 (5165 days ago)
Due
Updated 2005-03-17 (5120 days ago)
Assigned 2005-03-13 (5124 days ago)
Resolved 2005-03-17 (5120 days ago)
Milestone
Patch No

History
2005-03-17 20:50:46 Michael Rubinsky Comment #9
State ⇒ Resolved
Reply to this comment
No feedback.  Resolving.
2005-03-13 05:46:40 Michael Rubinsky Comment #8
State ⇒ Feedback
Reply to this comment
This should now be fixed in HEAD and FRAMEWORK_3.
2005-03-12 18:28:05 Chuck Hagenbuch Assigned to Michael Rubinsky
Taken from Horde DevelopersHorde Developers
 
2005-03-12 18:18:16 Michael Rubinsky Comment #7 Reply to this comment
I'll go ahead and take this one, I'm close to finishing this fix...
2005-02-20 13:56:56 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.
2005-01-31 20:31:07 Jan Schneider Priority ⇒ 1. Low
 
2005-01-31 20:30:36 Jan Schneider State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
 
2005-01-31 19:17:39 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)
2005-01-31 19:16:30 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.
2005-01-31 19:15:49 dfloyd (at) nc (dot) rr (dot) com Comment #3
New Attachment: sources.php Download
Reply to this comment
My turba/config/sources.php file.
2005-01-31 19:14:54 dfloyd (at) nc (dot) rr (dot) com Comment #2
New Attachment: attributes.ph Download
Reply to this comment
My turba/config/attributes.php file.
2005-01-31 19:12:02 dfloyd (at) nc (dot) rr (dot) com Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Summary ⇒ Expanding names matching contact with multiple email addresses inserts first email address rather than giving combo box
Queue ⇒ IMP
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