Le 12/09/2011 13:44, Patrick Ohly a écrit :
Hello Thomas!
I have extended my test data a bit and noticed one issue: if a recurring
event has two detached recurrences, then the Memotoo server only sets
one EXDATE. Even more, it removes the second EXDATE if one was already
set (which isn't necessary in iCalendar 2.0).
Here's the data that is sent in Adds (in this order):
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Synthesis AG//NONSGML SyncML Engine V3.4.0.27//EN
BEGIN:VEVENT
LAST-MODIFIED:20110912T102603Z
DTSTAMP:20110912T102619Z
UID:20080407T193125Z-19554-727-1-50@gollum-mod
CLASS:PUBLIC
SUMMARY:Recurring: Modified
DESCRIPTION:second instance modified
DTSTART:20080413T090000Z
RECURRENCE-ID:20080413T110000
DTEND:20080413T093000Z
END:VEVENT
END:VCALENDAR
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Synthesis AG//NONSGML SyncML Engine V3.4.0.27//EN
BEGIN:VEVENT
LAST-MODIFIED:20110912T102603Z
DTSTAMP:20110912T102619Z
UID:20080407T193125Z-19554-727-1-50@gollum
CLASS:PUBLIC
SUMMARY:Recurring
DESCRIPTION:recurs each Sonday\, 10 times
DTSTART:20080406T110000
RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=SU;UNTIL=20080608T110000
EXDATE:20080413
EXDATE:20080420
DTEND:20080406T113000
END:VEVENT
END:VCALENDAR
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Synthesis AG//NONSGML SyncML Engine V3.4.0.27//EN
BEGIN:VEVENT
LAST-MODIFIED:20110912T102603Z
DTSTAMP:20110912T102619Z
UID:20080407T193125Z-19554-727-1-50@gollum
CLASS:PUBLIC
SUMMARY:Recurring: Modified II
DESCRIPTION:third instance modified\, different time
DTSTART:20080413T100000Z
RECURRENCE-ID:20080420T110000
DTEND:20080413T103000Z
END:VEVENT
END:VCALENDAR
What comes back from the server is a recurring parent event without the
EXDATE:20080420.
Ok I have corrected the problem :)
Two comments:
1. EXDATE:20080420 should have a VALUE=DATE, because the default
format is DATE-TIME in EXDATE. Fixed in SyncEvolution's
Synthesis XML data format config, but didn't help with the
problem above.
You want I remove the "VALUE=DATE" in "EXDATE" ?
2. The ordering is a bit weird. The original goal was to send
changes pertaining to the parent first, not interleaved between
changes of childs as done here. Ah, my first detached recurrence
has the wrong UID - somehow a -mod was attached to it. Still,
that doesn't explain the removal of the EXDATE:20080420 and
fixing it doesn't change anything.
Thomas, do you have an idea?
_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution