[Tickets #9303] Recurrent "All year" Event's dont sync correctly with Funambol
bugs at horde.org
bugs at horde.org
Tue Oct 12 10:01:20 UTC 2010
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9303
------------------------------------------------------------------------------
Ticket | 9303
Created By | david at infiltrator.nl
Summary | Recurrent "All year" Event's dont sync correctly with
| Funambol
Queue | SyncML
Type | Bug
State | Unconfirmed
Priority | 3. High
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
david at infiltrator.nl (2010-10-12 06:01) wrote:
I run Horde Groupware Webmail Edition 1.2.7 on my own server (PHP
version 5.1.6). 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 the calendatevent on Horde to another PC (with
an 'empty' Outlook). the birthday isn't synched back! Logfile of
Funambol:
Sync completed - WARNING: some items have not been inserted on Outlook.
Last error = "Error setting properties of appointment item "xxxxxx's
Birthday". Item not saved." (code 105)
In the apache log I see the following errors:
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 out the Horde code and found the following codelines:
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, therefore synching
recurrent yearly events fails... I've tested with daily, weekly and
monthly recurrent events, but that works just fine!
If this issue is not reproducable, I can provide with more info if necessary.
PS: this ticket is created along ticket #8884 (Recurrent "All day"
Event's dont sync with Funambol).
More information about the bugs
mailing list