6.0.0-alpha14
7/3/25

[#6348] Address Already Exists using icon web link
Summary Address Already Exists using icon web link
Queue Turba
Queue Version 2.2-RC2
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester adorman (at) ironicdesign (dot) com
Created 02/29/2008 (6334 days ago)
Due
Updated 04/07/2008 (6296 days ago)
Assigned 02/29/2008 (6334 days ago)
Resolved 04/04/2008 (6299 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/07/2008 01:06:49 PM adorman (at) ironicdesign (dot) com Comment #8 Reply to this comment
That explains it. If everything is correct with your LDAP server,
then you probably have some broken setup in sources.php. How does the
entry for your LDAP look like.
And actually this is probably rather a support request now the
belongs on the mailing list. If you find a bug in the searching, we
can re-open the bug ticket.
Jan, thanks for the info.  After looking again at my sources.php in 
turba/config I agree that is probably it.  I took the fast/easy way 
and used the preferences-based address book.  And now I see the note 
that these are not searchable.  Good thing this was caught before we 
started production use of the system.



Thanks and we can close this ticket.  Sorry for the confusion.



--

Andy Dorman

Ironic Design, Inc.

AnteSpam.com
04/04/2008 08:43:15 PM Jan Schneider Comment #7
State ⇒ Not A Bug
Reply to this comment
That explains it. If everything is correct with your LDAP server, then 
you probably have some broken setup in sources.php. How does the entry 
for your LDAP look like.

And actually this is probably rather a support request now the belongs 
on the mailing list. If you find a bug in the searching, we can 
re-open the bug ticket.
04/04/2008 04:11:10 PM adorman (at) ironicdesign (dot) com Comment #6 Reply to this comment
And is searching working properly with your address book setup? E.g.
if you use the autocomplete feature in IMP's compose screen, does it
really only return matching contacts?
Good question.  No.  When I start to enter an address in the compose 
form it lists ALL contacts but the contact that is a match IS 
highlighted in bold text.



for example, if I type "my" in the To field I see:



addr1

addr2

myaddr   (with "my" in bold text)

xaddr

yaddr

zaddr




04/04/2008 10:09:29 AM Jan Schneider Comment #5 Reply to this comment
And is searching working properly with your address book setup? E.g. 
if you use the autocomplete feature in IMP's compose screen, does it 
really only return matching contacts?
03/24/2008 08:24:40 PM adorman (at) ironicdesign (dot) com Comment #4 Reply to this comment
FYI, I have just upgraded our code to rc3 (horde 3.2, imp 4.2 & turba 
2.2) and the problem is still with us.



We are using the openLDAP backend.  And there are no problems with 
adding addresses with turba/add.php web page.



It is only when there are any addresses in the private address book 
that adding ANY address using the addressbook_add iconic links when 
you are reading emails fails with the error "Already exists".



A specific example...clicking on the link below with an address (NOT 
cberry) in the Private address book gives a response "Already exists" 
and the address is NOT added.  If I remove the existing address from 
the Private address book, clicking on the link works fine.  But then 
adding any other addresses via the addressbook_add link fails after 
that because the cberry address has been added.



<a 
href="/imp/message.php?mailbox=sent-mail&amp;index=15&amp;start=14&amp;message_token=9f982c187c59ff378a4059bc91f3d972&amp;actionID=add_address&amp;name=&amp;address=cberry%40ironicdesign.com" title="Add cberry@ironicdesign.com to my Address Book"><img src="/imp/themes/graphics/addressbook_add.png" alt="Add cberry@ironicdesign.com to my Address Book" title="" 
/></a>


03/01/2008 10:21:17 AM adorman (at) ironicdesign (dot) com Comment #3 Reply to this comment
Can you add new contacts from Turba? What backend are you using in Turba?
Chuck, I apologize if I left that out of the original bug description.



Yes, we can add, delete and edit address entries with no problem as 
long as we are using the Turba menus and forms.  In fact it was after 
I had my default address book with 4 entries that we tested the 
envelope icon link to add an address and that was when we discovered 
the issue.



We are using the LDAP backend.  But since we can add, edit and delete 
using the normal Turba interface, that did not seem to be the problem.



Thanks again for looking into this.  I gave it a shot at figuring it 
out myself, but all my experience is with perl and php syntax is close 
enough, but different enough, to make it incredibly misleading. <grin>
02/29/2008 10:08:33 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
Can you add new contacts from Turba? What backend are you using in Turba?
02/29/2008 05:42:26 PM adorman (at) ironicdesign (dot) com Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Address Already Exists using icon web link
Queue ⇒ Turba
State ⇒ Unconfirmed
Reply to this comment
We are testing with the -rc2 releases of horde, IMP and Turba 
(specific list is below).  We can receive, read, compose and send 
email and add, remove & edit entries in our private address book with 
no problems.



However, when reading an email and you click on the icon next to an 
address in the display (see example link below) to add that address to 
your default address book that already has one or more entries, we 
always get the response 'Already Exists' and the address is not added, 
even though the address is not in the address book.



This error only happens after the first address has been added to

the address book.  There is no problem with an empty address book.



The horde.log shows this when it happens

Feb 28 10:59:43 HORDE [debug] [imp] Already Exists: 
20080227151906.190021pmhi65hbyi@mail.comehome.net [pid 1244 on line 
176 of ".../horde/lib/Horde/Notification.php"]



--- example link ---

<a 
href="/imp/message.php?mailbox=sent-mail&amp;index=11&amp;start=11&amp;actionID=add_address&amp;name=&amp;address=cberry%40ironicdesign.com" title="Add cberry@ironicdesign.com to my Address 
Book">



--- Horde/IMP/Turba versions ---

Horde 3.2-rc2

IMP 4.2-rc2

Turba 2.2-rc2




Saved Queries