← Back to team overview

touch-packages team mailing list archive

[Bug 1440583] Re: calendar-app is generating invalid RECUR values in RRULE property

 

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


** Changed in: ubuntu-calendar-app
     Assignee: (unassigned) => Gary.Wang (gary-wzl77)

** Changed in: ubuntu-calendar-app
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtorganizer5-eds in
Ubuntu.
https://bugs.launchpad.net/bugs/1440583

Title:
  calendar-app is generating invalid RECUR values in RRULE property

Status in Ubuntu Calendar App:
  In Progress
Status in qtorganizer5-eds package in Ubuntu:
  Confirmed

Bug description:
  I created a calendar event for April 24 at 1:35 PM, with a reminder
  the day before. This is the
  ~/.local/share/evolution/calendar/system/calendar.ics file that was
  created, note the X-LIC-ERROR.

  Tested with calendar-app 0.4.600 on krillin rtm r263.

  BEGIN:VCALENDAR
  CALSCALE:GREGORIAN
  PRODID:-//Ximian//NONSGML Evolution Calendar//EN
  VERSION:2.0
  X-EVOLUTION-DATA-REVISION:2015-04-05T19:06:51.703615Z(2)
  BEGIN:VEVENT
  UID:20150405T190651Z-4388-32011-1709-1@ubuntu-phablet
  DTSTAMP:20150405T190651Z
  DTSTART:20150424T183500Z
  DTEND:20150424T193500Z
  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:London Sprint Flight
  DESCRIPTION:Time to pack!
  CREATED:20150405T190651Z
  LAST-MODIFIED:20150405T190651Z
  BEGIN:VALARM
  X-EVOLUTION-ALARM-UID:20150405T190651Z-4388-32011-1709-2@ubuntu-phablet
  ACTION:AUDIO
  TRIGGER;VALUE=DURATION;RELATED=START:-P1D
  REPEAT:3
  DURATION:PT2M
  END:VALARM
  BEGIN:VALARM
  X-EVOLUTION-ALARM-UID:20150405T190651Z-4388-32011-1709-3@ubuntu-phablet
  ACTION:DISPLAY
  DESCRIPTION:London Sprint Flight
  TRIGGER;VALUE=DURATION;RELATED=START:-P1D
  REPEAT:3
  DURATION:PT2M
  END:VALARM
  END:VEVENT
  END:VCALENDAR

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1440583/+subscriptions