[Tickets #8884] Re: Recurrent "All day" Event's dont sync with Funambol

bugs at horde.org bugs at horde.org
Thu Oct 7 16:37:48 UTC 2010


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

Ticket URL: http://bugs.horde.org/ticket/8884
------------------------------------------------------------------------------
  Ticket             | 8884
  Updated By         | david at infiltrator.nl
  Summary            | Recurrent "All day" Event's dont sync with Funambol
  Queue              | SyncML
  Type               | Bug
  State              | Not A Bug
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


david at infiltrator.nl (2010-10-07 12:37) wrote:

Hi, maybe I can be of some assistance. I run , Horde Groupware Webmail  
Edition 1.2.7 on my own server (thus having administrator access).  
Simple installation, no tweaks! I use "Funambol Outlook Sync Client  
8.7.2" to connect my Outlook client to horde.

When I add a birthday in Outlook (which is a yearly recurrent event)  
and I synch this trough "rpc.php", then it appears in de calendar of  
Horde. Now when I synch on another PC (with an 'empty' Outlook). the  
birthday isn't synched back! No problems with daily, weekly and  
monthly recurrent events.

PHP Warning:  date() expects parameter 2 to be long, array given in  
/var/www/html/horde/lib/SyncML/Device/Sync4j.php on line 1028
PHP Warning:  date() expects parameter 2 to be long, array given in  
/var/www/html/horde/lib/SyncML/Device/Sync4j.php on line 1030

I checked the code and found:

line 1028 => $hash['DayOfMonth'] = date('j', $start);
line 1030 => $hash['MonthOfYear'] = date('n', $start);

I have debugged the value of '$start' while syncing again with the  
other PC. It appears that '$start' is an array like the one below:

array('mday' => '21', 'year' => '1976', 'month' => '05')

The date function doesn't accept this as value, thereforce synching  
recurrent yearly events fails...

If you need more info, please mail me.






More information about the bugs mailing list