Package: khal
Version: 1:0.10.5-1.1
Severity: important
X-Debbugs-Cc: eingousef+debb...@rhizogen.es.eu.org

Dear Maintainer,

Importing a recurring event and then a METHOD:CANCEL event for a
particular occurrence of this recurring event results in the deletion
of all occurences of the recurring event (only the first one appearing
a CANCELLED in the ikhal interface, the following occurrences being
just removed).

With files in attachment you can try:

```
$ khal import invite.ics
$ khal import cancel1.ics
```

Regards,

-- System Information:
Debian Release: 12.8
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable'), (500, 
'stable-security'), (500, 'oldstable-updates'), (500, 'oldstable-security'), 
(500, 'oldoldstable-updates'), (500, 'oldoldstable'), (500, 'oldstable'), (90, 
'testing'), (50, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-27-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: init
LSM: AppArmor: enabled

Versions of packages khal depends on:
ii  python3                3.11.2-1+b1
ii  python3-atomicwrites   1.4.1-1
ii  python3-click          8.1.3-2
ii  python3-click-log      0.3.2-1
ii  python3-configobj      5.0.8-1
ii  python3-dateutil       2.8.2-2
ii  python3-icalendar      4.0.3-5
ii  python3-pkg-resources  66.1.1-1
ii  python3-tz             2022.7.1-4
ii  python3-tzlocal        4.2-1
ii  python3-urwid          2.1.2-4+b1
ii  python3-xdg            0.28-2

Versions of packages khal recommends:
ii  python3-setproctitle  1.3.1-1+b2

Versions of packages khal suggests:
ii  bash-completion  1:2.11-6
ii  khal-doc         1:0.10.5-1.1

-- no debconf information
BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Example
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Romance Standard Time
BEGIN:STANDARD
DTSTART:16010101T030000
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T020000
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
ORGANIZER;CN=John Doe:mailto:john...@example.net
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=johndoe@ex
 ample.net:mailto:john...@example.net
DESCRIPTION:Example
RRULE:FREQ=WEEKLY;UNTIL=20241217T090000Z;INTERVAL=1;BYDAY=TU;WKST=MO
UID:040000008200E00074C5B7101A82E0080000000010573339DF38DB01000000000000000
 0100000006D9FE5884E3F39408FD0E557B24D2BAE
SUMMARY;LANGUAGE=en-US:Example
DTSTART;TZID=Romance Standard Time:20241203T100000
DTEND;TZID=Romance Standard Time:20241203T120000
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20241117T202255Z
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:1
BEGIN:VALARM
DESCRIPTION:REMINDER
TRIGGER;RELATED=START:-PT15M
ACTION:DISPLAY
END:VALARM
END:VEVENT
END:VCALENDAR
BEGIN:VCALENDAR
METHOD:CANCEL
PRODID:Example
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Romance Standard Time
BEGIN:STANDARD
DTSTART:16010101T030000
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T020000
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
ORGANIZER;CN=John Doe:mailto:john...@example.net
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=johndoe@ex
 ample.net:mailto:john...@example.net
DESCRIPTION;LANGUAGE=en-US:Example
UID:040000008200E00074C5B7101A82E0080000000010573339DF38DB01000000000000000
 0100000006D9FE5884E3F39408FD0E557B24D2BAE
RECURRENCE-ID;TZID=Romance Standard Time:20241203T100000
SUMMARY;LANGUAGE=en-US:Canceled: Example
DTSTART;TZID=Romance Standard Time:20241203T100000
DTEND;TZID=Romance Standard Time:20241203T120000
CLASS:PUBLIC
PRIORITY:1
DTSTAMP:20241202T133255Z
TRANSP:TRANSPARENT
STATUS:CANCELLED
SEQUENCE:2
END:VEVENT
END:VCALENDAR

Reply via email to