Date: Fri, 18 Jan 2002 00:28:14 +0100 (CET) From: Thierry Thomas <thierry@thomas.as> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/34013: Maintainer-update: mail/imp-devel: fix an error in the addressbook Message-ID: <20020117232814.C14E67622@graf.pompo.net>
next in thread | raw e-mail | index | archive | help
>Number: 34013 >Category: ports >Synopsis: Maintainer-update: mail/imp-devel: fix an error in the addressbook >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 17 15:30:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 4.5-RC i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 4.5-RC FreeBSD 4.5-RC #0: Sat Jan 12 16:26:48 CET 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF010429 i386 >Description: Trying to add an address from imp gives an answer "that person is already in your addressbook". >How-To-Repeat: From imp, add a sender address in the addressbook => you get an error message, and no address is added. >Fix: Pre-requisite: PR ports/33516 should have been committed. Note: the bug is in mail/imp-devel, but the following patch adds a new patch file for mail/turba: diff -urN /usr/ports/mail/turba.orig/files/patch-lib_api.php /usr/ports/mail/turba/files/patch-lib_api.php --- /usr/ports/mail/turba.orig/files/patch-lib_api.php Thu Jan 1 01:00:00 1970 +++ /usr/ports/mail/turba/files/patch-lib_api.php Thu Jan 17 23:47:52 2002 @@ -0,0 +1,11 @@ +--- lib/api.php.orig Tue Dec 25 20:01:35 2001 ++++ lib/api.php Thu Jan 17 23:46:58 2002 +@@ -90,7 +90,7 @@ + + $driver = Turba_Source::factory($addressbook, $cfgSources[$addressbook]); + $res = $driver->search(array('name' => $name, 'email' => $address), LASTNAME, TURBA_SEARCH_AND); +- if (PEAR::isError($res) || count($res) > 0) { ++ if (PEAR::isError($res) || count($res->objects) > 0) { + return PEAR::raiseError(_("This person is already in your addressbook."), HORDE_MESSAGE); + } + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020117232814.C14E67622>