Ticket #727 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

moto-sync rejecting too many recurrence rules for moto simple format

Reported by: swolter Assigned to: swolter
Priority: normal Milestone:
Component: Plugin: moto Version: 0.39
Severity: normal Keywords:
Cc:

Description

Three errors concerning the moto-sync handling of recurring events in the simple moto format:

Simple one is a wrong call to getElementsByTagNames in exdate handling: That function needs three arguments, not two.

When considering if an entry can be represented by a simple moto rule, any entry with a repeat_day field of 64 is rejected even though 64 is semantically equal to 0: Repeat on the weekday it started on.

This bug occurs when the input is in an explicit recursion form like:

DTSTAMP:20080404T125759Z
RRULE:FREQ=WEEKLY;BYDAY=WE

instead of

DTSTAMP:20080404T125759Z
RRULE:FREQ=WEEKLY

Patch is attached.

Attachments

diff (1.0 kB) - added by swolter on 04/15/08 22:32:18.
Patch to fix the bug

Change History

04/15/08 22:32:18 changed by swolter

  • attachment diff added.

Patch to fix the bug

04/17/08 08:51:18 changed by swolter

  • owner changed from andrewb to swolter.

04/17/08 08:58:09 changed by swolter

  • status changed from new to closed.
  • resolution set to fixed.