<?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>Can not import vcard into turba</title> 
  <pubDate>Thu, 09 Apr 2026 23:21:13 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8735</link> 
  <atom:link rel="self" type="application/rss+xml" title="Can not import vcard into turba" href="https://bugs.horde.org/ticket/8735/rss" /> 
  <description>Can not import vcard into turba</description> 
 
   
   
  <item> 
   <title>With openldap-2.4.19, I am able to add and remove LDAP conta</title> 
   <description>With openldap-2.4.19, I am able to add and remove LDAP contact list entries, and I am able to export vcards, but I am not able to import vcards. I get
&quot;Read failed: (0) Success&quot; errors, and nothing gets imported.

It appears that in turba/data.php, an LDAP search is performed.
if(PEAR_Error) {
  signal error;
} else if(count != 0) {
  signal that entry already exists;
} else {
  add entry
}

It appears that the empty LDAP search result is generating a PEAR_Error for some reason (Read failed: (0) Success). A google search shows that I am not the only one receiving this error when a search returns 0 entries. In fact, if I empty all of my contact entries, I get the error when I click on the Browse button. Once I add an entry, I do not see this error anymore, until I attempt to import a vcard.

Dave.
</description> 
   <pubDate>Sun, 29 Nov 2009 08:55:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8735#t56897</link> 
  </item> 
   
  <item> 
   <title>Are you using a replicated LDAP setup? There was a similar p</title> 
   <description>Are you using a replicated LDAP setup? There was a similar problem with data not replicating to the read slave in time for the check, but I thought that was fixed before this release.

Do you get the error before uploading data, or after?</description> 
   <pubDate>Mon, 30 Nov 2009 03:25:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8735#t56902</link> 
  </item> 
   
  <item> 
   <title>I am not using a replicated LDAP setup. After the data gets </title> 
   <description>I am not using a replicated LDAP setup. After the data gets uploaded, turba checks to see if the entry already exists. That is when the error occurs.

The bug affects other vcard-import-related activities. In my case, I discovered this bug when trying to use syncML (which fails because of this bug).

Yesterday I discovered the fix discussed in ticket #8707. I tried it, and it solves my problem. It appears that the #8707 fix is not integrated into turba yet.</description> 
   <pubDate>Mon, 30 Nov 2009 07:02:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8735#t56907</link> 
  </item> 
   
  <item> 
   <title>Duplicate of bug 8707.</title> 
   <description>Duplicate of bug 8707.</description> 
   <pubDate>Mon, 30 Nov 2009 07:39:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8735#t56909</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
