Comment 6 for bug 1437305

Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

I can not reproduce it using the C++ library on my unit tests.

Looking at the saved event I noticed some problems.

This is an event saved by calendar app:

BEGIN:VEVENT
UID:20150611T123231Z-4234-1000-4111-1@rento-ubuntu
DTSTAMP:20150611T123231Z
DTSTART;VALUE=DATE:20150611
DTEND;VALUE=DATE:20150611
X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:Can't parse as RECUR value
 in RRULE property. Removing entire property: ERROR: No Value
SUMMARY:new all day 11
CREATED:20150611T123231Z
LAST-MODIFIED:20150611T123231Z
BEGIN:VALARM
X-EVOLUTION-ALARM-UID:20150611T123231Z-4234-1000-4111-2@rento-ubuntu
ACTION:AUDIO
TRIGGER;VALUE=DURATION;RELATED=START:-PT15M
END:VALARM
BEGIN:VALARM
X-EVOLUTION-ALARM-UID:20150611T123231Z-4234-1000-4111-3@rento-ubuntu
ACTION:DISPLAY
TRIGGER;VALUE=DURATION;RELATED=START:-PT15M
END:VALARM
END:VEVENT

This is an event saved by my unit test:

BEGIN:VEVENT
UID:20150610T194020Z-24821-1000-2179-64@rento-ubuntu
DTSTAMP:20150606T161617Z
DTSTART;VALUE=DATE:20150610
DTEND;VALUE=DATE:20150611
TRANSP:TRANSPARENT
SEQUENCE:2
SUMMARY:ALLDAY
CLASS:PUBLIC
CREATED:20150610T194029Z
LAST-MODIFIED:20150610T194029Z
END:VEVENT

There is two main differences:

1 - the end date in the event saved by the calendar event is the same as start date (I believe we should use the next day date as end date)

2 - The recurrence value is broken (please check if you are trying to set any recurrence value while saving the event)