6.0.0-beta1
7/29/25

[#5148] Recurrence enddate not copied from latest Funambol WM plugin to kronolith
Summary Recurrence enddate not copied from latest Funambol WM plugin to kronolith
Queue Synchronization
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester jochem (at) mondrian (dot) nl
Created 03/22/2007 (6704 days ago)
Due
Updated 03/29/2007 (6697 days ago)
Assigned 03/26/2007 (6700 days ago)
Resolved 03/29/2007 (6697 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/29/2007 10:16:30 PM Jan Schneider Deleted Original Message
 
03/29/2007 10:16:23 PM Jan Schneider Comment #3
Assigned to Jan Schneider
Taken from Karsten Fourmont
State ⇒ Resolved
Reply to this comment
This patch is of course wrong. Fixed in CVS.
03/26/2007 06:40:17 PM Chuck Hagenbuch State ⇒ Assigned
Assigned to Karsten Fourmont
 
03/26/2007 02:47:17 PM jochem (at) mondrian (dot) nl Comment #2
New Attachment: Recurrence.patch
Reply to this comment
The problem lay in the parsing of the UNTIL attribute of the RRULE in 
kronolith/lib/Recurrence.php

The function assumed the value of UNTIL is in the form of date('Ymd'), 
while the funambol client supplies it as a unix timestamp. The 
attached .patch will make the reverse assumption, that the value of 
UNTIL is a timestamp if the function used is fromRRule20().



I've tested this, it fixes the bug.
03/22/2007 02:00:55 PM jochem (at) mondrian (dot) nl Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Recurrence enddate not copied from latest Funambol WM plugin to kronolith
Queue ⇒ Synchronization
State ⇒ Unconfirmed
Reply to this comment
While testing the syncml interface to horde, I ran into the following 
problem. When the WM client defines an enddate for a recurrence item, 
it is not correctly copied to the kronolith database. I've tracked the 
enddate from the originally input SIF data, through the vCard that's 
made of it.



The last point where I can easily track the data is where the 
$backend->addEntry call is made in SyncML/Sync.php. The $content that 
is fed to this function contains a RRULE line with the UNTIL key set 
to the correct timestamp. Somewhere after this point, the enddate is 
lost, as the resulting kronolith_events database entry contains the 
enddate '9999-12-31 00:00:00'.

Saved Queries