6.0.0-beta1
7/8/25

[#128] "default address book" preference in Kronolith
Summary "default address book" preference in Kronolith
Queue Kronolith
Queue Version HEAD
Type Enhancement
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester amoser (at) amoser (dot) com
Created 04/26/2004 (7743 days ago)
Due
Updated 09/23/2004 (7593 days ago)
Assigned 05/25/2004 (7714 days ago)
Resolved 09/23/2004 (7593 days ago)
Milestone
Patch No

History
09/23/2004 12:47:16 PM Jan Schneider Comment #6
State ⇒ Resolved
Reply to this comment
I implemented this as a local Kronolith preference, because 1) you 
might want to search different address books for fb urls and email 
addresses, and 2) imp's default address book preference is far 
complexer and not suitable for a shared one.
09/19/2004 02:58:51 PM Jan Schneider Assigned to Jan Schneider
 
05/25/2004 05:46:36 PM Chuck Hagenbuch Priority ⇒ 1. Low
Taken from Horde DevelopersHorde Developers
State ⇒ Assigned
 
04/29/2004 03:34:41 PM Chuck Hagenbuch State ⇒ Accepted
Summary ⇒ "default address book" preference in Kronolith
 
04/27/2004 09:42:07 AM Jan Schneider Assigned to Horde DevelopersHorde Developers
Priority ⇒ 1. Low
State ⇒ Assigned
 
04/27/2004 09:41:51 AM Jan Schneider Comment #4
Type ⇒ Enhancement
Reply to this comment
We should add a "default address book" preference to Kronolith like we 
have in IMP. Or even make it a global preference.
04/27/2004 03:04:26 AM Chuck Hagenbuch State ⇒ Not A Bug
 
04/27/2004 12:30:54 AM amoser (at) amoser (dot) com Comment #3 Reply to this comment
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.
04/26/2004 10:33:25 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
I cannot reproduce this. Furthermore, anything involving apache 
crashes is way beyond a Horde but and is likely a problem with your 
PHP/Apache install.
04/26/2004 10:28:59 PM amoser (at) amoser (dot) com Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Queue ⇒ Kronolith
State ⇒ Unconfirmed
Reply to this comment
When trying to edit an event (not creating a new one!) in Kronolith 
then clicking on "Edit Attendees" stops (crashes) Apache/PHP and the 
httpd process has to be restarted.



Creating a new event works fine, but any urther change to the list of 
attendees is impossible.

Saved Queries