[Tickets #8735] Can not import vcard into turba

bugs at horde.org bugs at horde.org
Sun Nov 29 08:55:59 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8735
------------------------------------------------------------------------------
  Ticket             | 8735
  Created By         | spm at boiteauxlettres.sent.at
  Summary            | Can not import vcard into turba
  Queue              | Horde Groupware Webmail Edition
  Version            | 1.2.4
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


spm at boiteauxlettres.sent.at (2009-11-29 03:55) wrote:

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
"Read failed: (0) Success" 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.







More information about the bugs mailing list