[Tickets] Neuer Kommentar für ticket 128

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Apr 26 17:30:55 PDT 2004


NICHT AUF DIESE NACHRICHT ANTWORTEN. DIESE EMAIL ADRESSE WIRD NICHT
BEOBACHTET.

-Ticket 128
-Modul: Kronolith
-Hinzugefügt von: amoser at amoser.com

-Zusammenfassung:
Edit event -> Edit attendees -> Apache hangs -> restart needed

Kommentar von amoser at amoser.com am Mon Apr 26 17:30:54 2004 (heute):
It seems, that if in /horde/turba/config/sources.php the local adressbook is
not the first in the array, and/or if the FreeBusyURL is incorrectly set,
then the 'hang' can be reproduced. You probably have only one Address source
defined (with correct or empty FreeBusyURLs set).

Using the default configuration of /horde/turba/config/sources.php the first
address lookup is Netscape or Bigfoot or Verisign or so.

Now look at this function in /horde/kronolith/lib/Kronolith.php:
    function getFreeBusyUrl($email)
    {
        global $registry;

        /* Get the list of address books through the API. */
        $source_list = $registry->call('contacts/sources');
        if (is_a($source_list, 'PEAR_Error')) {
            return false;
        }

        /* Try retrieving by e-mail only first. */
        $result = $registry->call('contacts/getField', array($email,
'freebusyUrl', array_keys($source_list)));
        if (is_a($result, 'PEAR_Error')) {
            return false;
        }
        return $result;
    }

The systems seems to hang or timeout after the "/* Try retrieving by e-mail
only first. */" comment.

My workaround: I removed all but the local address book in
/horde/turba/config/sources.php
and it seems to work fine like this, although I obviously have no Free/Busy
information while assigning people to an event.

--


http://bugs.horde.org/details.php?id=128

-- 


More information about the bugs mailing list