Comment 4 for bug 1440583

Revision history for this message
Gary.Wang (gary-wzl77) wrote :

For event occurs once, we can see warning info in ~/.local/share/evolution/calendar/system/calendar.ics
"X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:Can't parse as RECUR value
 in RRULE property. Removing entire property: ERROR: No Value"

Reason for this is because for event occurs once, we assign default recurrence rule with RecurrenceRule.Invalid to this event.Basically, recurrenceRules for nonrepeating event should be an empty array in this case.
App bug, unrelated to qtorganizer5-eds, which works fine.

Expect result:
BEGIN:VEVENT
UID:20150711T022342Z-22898-32011-1667-1@ubuntu-phablet
DTSTAMP:20150711T022342Z
DTSTART:20150711T023000Z
DTEND:20150711T033000Z
SUMMARY:Bugggggggy
CREATED:20150711T022342Z
LAST-MODIFIED:20150711T022342Z
BEGIN:VALARM
X-EVOLUTION-ALARM-UID:20150711T022342Z-22898-32011-1667-2@ubuntu-phablet
ACTION:AUDIO
TRIGGER;VALUE=DURATION;RELATED=START:-PT15M
END:VALARM
BEGIN:VALARM
X-EVOLUTION-ALARM-UID:20150711T022342Z-22898-32011-1667-3@ubuntu-phablet
ACTION:DISPLAY
TRIGGER;VALUE=DURATION;RELATED=START:-PT15M
END:VALARM
END:VEVENT

Actual result:
BEGIN:VEVENT
UID:20150711T022342Z-22898-32011-1667-1@ubuntu-phablet
DTSTAMP:20150711T022342Z
DTSTART:20150711T023000Z
DTEND:20150711T033000Z
X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:Can't parse as RECUR value ^M
 in RRULE property. Removing entire property: ERROR: No Value
SUMMARY:Bugggggggy
CREATED:20150711T022342Z
LAST-MODIFIED:20150711T022342Z
BEGIN:VALARM
X-EVOLUTION-ALARM-UID:20150711T022342Z-22898-32011-1667-2@ubuntu-phablet
ACTION:AUDIO
TRIGGER;VALUE=DURATION;RELATED=START:-PT15M
END:VALARM
BEGIN:VALARM
X-EVOLUTION-ALARM-UID:20150711T022342Z-22898-32011-1667-3@ubuntu-phablet
ACTION:DISPLAY
TRIGGER;VALUE=DURATION;RELATED=START:-PT15M
END:VALARM
END:VEVENT

Also Plz check the test report by running unit tests in qtorganizer5-eds
https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1437305/comments/6