<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>turba with kolab-backend loses e-mail address when adding contact from imp/dimp</title> 
  <pubDate>Fri, 10 Apr 2026 10:04:38 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8358</link> 
  <atom:link rel="self" type="application/rss+xml" title="turba with kolab-backend loses e-mail address when adding contact from imp/dimp" href="https://bugs.horde.org/ticket/8358/rss" /> 
  <description>turba with kolab-backend loses e-mail address when adding contact from imp/dimp</description> 
 
   
   
  <item> 
   <title>Hi there,



i have turba configured with kolab2 as the stor</title> 
   <description>Hi there,



i have turba configured with kolab2 as the storage backend.



Creating a contact in turba itself works flawless.

But when i try to import the sender of an e-mail to my default addressbook (kolab backend) it fails.

Although the contact will be created, turba throws away the e-mail attribute.



The problem, i think, is that imp tries to add a contact with a single e-mail address ($attribute[&#039;email&#039;]).

Turba in contrast expects $attribute[&#039;emails&#039;] (plural) and throws away the former.



Because i think this is a specialty for kolab, this should be fixed in the kolab driver itself:



So, i suggest adding something like the followin to the _add function in turba/lib/Driver/kolab.php



if (isset($attributes[&#039;email&#039;])) {

                $attributes[&#039;emails&#039;] = $attributes[&#039;email&#039;];

                unset($attributes[&#039;email&#039;]);

        }



Thoughts?</description> 
   <pubDate>Thu, 18 Jun 2009 16:44:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8358#t54637</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 31c0961b8fe1</title> 
   <description>Changes have been made in Git (master):

commit 31c0961b8fe155ae1d1b16777eab87492e970378
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Wed Oct 10 15:09:48 2012 +0200

    Special handling to map &#039;email&#039; to &#039;emails&#039; attributes (Bug #8358).

 turba/docs/CHANGES |    2 ++
 turba/lib/Api.php  |    3 +++
 turba/package.xml  |    2 ++
 3 files changed, 7 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/31c0961b8fe155ae1d1b16777eab87492e970378</description> 
   <pubDate>Wed, 10 Oct 2012 13:17:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8358#t73278</link> 
  </item> 
   
  <item> 
   <title>Fix confirmed, thanks.
</title> 
   <description>Fix confirmed, thanks.
</description> 
   <pubDate>Wed, 10 Oct 2012 13:37:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8358#t73286</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (develop):

commit 31c0961b8fe</title> 
   <description>Changes have been made in Git (develop):

commit 31c0961b8fe155ae1d1b16777eab87492e970378
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Wed Oct 10 15:09:48 2012 +0200

    Special handling to map &#039;email&#039; to &#039;emails&#039; attributes (Bug #8358).

 turba/docs/CHANGES |    2 ++
 turba/lib/Api.php  |    3 +++
 turba/package.xml  |    2 ++
 3 files changed, 7 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/31c0961b8fe155ae1d1b16777eab87492e970378</description> 
   <pubDate>Mon, 15 Oct 2012 20:45:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8358#t73573</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
