Summary | Recurrent "All year" Event's dont sync correctly with Funambol |
Queue | Synchronization |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | david (at) infiltrator (dot) nl |
Created | 10/12/2010 (5394 days ago) |
Due | |
Updated | 10/15/2010 (5391 days ago) |
Assigned | |
Resolved | 10/13/2010 (5393 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | 3.3.10 |
Patch | No |
which causes all Funambol versions to fail at yearly events.
Unfortunately roll-back this update is not enough but one has to
replace "outlook.exe" with a version from a system which never has
installed this update.
"http://bugs.horde.org/ticket/8884"
Funambol forum which covers this issue
https://core.forge.funambol.org/ds/viewMessage.do?orderBy=createDate¤tPage=1&countPerPage=25&dsForumId=405&dsMessageId=128389
Failing to sync annual events seems a Funambol problem instead of
Horde's SyncML!?
to checkout the 'framework' module. Here I replaced Sync4j.php with
".../framework/SyncML/SyncML/Device/Sync4j.php". Still no sync by
Funambol (same error). Now this appears in the apache logfile:
PHP Fatal error: Class 'Horde_String' not found in
.../horde/lib/SyncML/Device/Sync4j.php on line 928
Guess I need to update more files, but don't know where to start....
the debug output in /tmp/sync/data.txt that the "Interval" is not in
the SIF-E data with the snapshot version, but it seems as it is later
added again in the code chain because Funambol complain further on
with the same error. As far as i remember there will be some
additionally parsing of the data before they get send, but i don't
remember which module was involved :-(
Please use the mailing list to ask for support.
http://www.horde.org/mail/ contains a list of all available mailing lists.
Are there any other files involved or is the fix only included tomorrow?
.../horde/lib/SyncML/Device/Sync4j.php
with
http://git.horde.org/horde-git/-/browse/framework/SyncML/SyncML/Device/Sync4j.php
and I get the following error in the Apache log after syncing a Horde
calendar with birthdays to an empty Outlook client (with Funambol):
PHP Warning: require_once(Horde/Icalendar.php) [<a
href='function.require-once'>function.require-once</a>]: failed to
open stream: No such file or directory in
.../horde/lib/SyncML/Device/Sync4j.php on line 10
PHP Fatal error: require_once() [<a
href='function.require'>function.require</a>]: Failed opening required
'Horde/Icalendar.php'
(include_path='.../horde/lib:.../horde/lib/../pear/php') in
.../horde/lib/SyncML/Device/Sync4j.php on line 10
Funambol didn't anything this time and the logfile reports:
Last error message = "Server Failure: server returned error code -1"
Last error code = -1
What do I have to do to make this work?
(I downloaded revision "1526c4e2f0121646bf75285f8b25fdb3865aa60c" of
'Sync4j.php')
Are there any other files involved or is the fix only included tomorrow?
But you can grab the latest SyncML/Device/Sync4j.php from
CVS/snapshots manually.
Link to the patch available? We have to resync some calendar with many
birthdays pending :-(
Milestone ⇒ 3.3.10
Priority ⇒ 2. Medium
State ⇒ Resolved
Assigned to Jan Schneider
which is not supportet for Yearly/YearNth in the SIF-E Outlook world
(it is always "1"). Therfore the Funambol Clients for Outlook complain
about "Error inserting recurrence property 'Interval' into Outlook"
and skip the yearly recuring entries like birthdays. I have tried to
disable "Interval" for the yearly cases in Sync4j.php but it added
later on again :-(
i'm pretty sure it worked with Horde 3.3.6.
I haven't tested with other versions of Groupware Webmail Edition. Any
idea which version does contain the Horde 3.3.6? Would hurt just to
try it.
i'm pretty sure it worked with Horde 3.3.6.
Patch ⇒ No
State ⇒ Unconfirmed
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ Recurrent "All year" Event's dont sync correctly with Funambol
Type ⇒ Bug
Priority ⇒ 3. High
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).