Bug 453344 - Some recurring meetings on CalDAV do not show up
Summary: Some recurring meetings on CalDAV do not show up
Status: RESOLVED DUPLICATE of bug 436812
Alias: None
Product: korganizer
Classification: Applications
Component: recurrence (show other bugs)
Version: 5.20.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-03 14:28 UTC by Syiad
Modified: 2022-05-05 16:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Syiad 2022-05-03 14:28:56 UTC
SUMMARY
***
Recurring meetings on my CalDAV calendar do not show up in KOrganizer. They do appear OK in the calendar view of the task panel clock.
***


STEPS TO REPRODUCE
1. Receive and accept a recurring meeting invite in Thunderbird or on Android
2. Meeting is stored in (Synology) CalDAV calendar
3. 

OBSERVED RESULT
Meeting series does not show up in KOrganizer, but does show up in Thunderbird, panel clock calendar view and Synology Calendar.

EXPECTED RESULT
Meeting series does show up in KOrganizer, same as it does everywhere else.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 22.04
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 gjditchfield 2022-05-03 16:26:01 UTC
Are all recurring meetings missing, or just the occurrences of the invitation
that you accepted in step 1?

If you create a recurring event from scratch, do its occurrences show up?

Could you use akonadiconsole to inspect the meeting?
- apt install akonadiconsole
- Run akonadiconsole
- Select the Browser tab.
- Select the CalDAV calendar in the top-left Collection window.
- Select Model: Calendar/Tasks in the top right corner.
- Look for the meeting.  Do you notice anything odd?  Does it have a UID?
If you are willing to copy the contents of the Raw Payload tab, XXXX-out sensitive details,
and send it to me, that might be helpful.
Comment 2 Syiad 2022-05-03 17:08:34 UTC
Only recurring meeting from external invites are missing, but all of them.

If I create a recurring event directly in KOrganizer, it does show up there and also in Thunderbird and everywhere else.

Here is one such meeting, which I have accepted via Thunderbird, because the invite e-mail was not properly rendered in KMail (probably a separate new bug). Inspection with Akonadi Console shows ...
- It has a unique ID
- It has a very long remote ID: 040000008200E00074C5B7101A82E00800000000F03EE796335ED801000000000000000010000000C41554B315229E438AA41B86C336F353.ics
- The GID is empty
- The mime type is 'application/x-vnd.akonadi.calendar.event'
- The payload field is empty
- There are no attributes set
- The raw payload is (slightly edited for privacy):
BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN
VERSION:2.0
X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0
BEGIN:VEVENT
ORGANIZER;CN=someone@some.com:MAILTO:
 someone@some.com
DTSTAMP:20220502T130628Z
ATTENDEE;CN="Schröter, xxx";RSVP=TRUE;PARTSTAT=NEEDS-ACTION;
 ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL;X-UID=94871627871168:mailto:
 xxx.Schroeter@some.com
ATTENDEE;CN="Nickel, xxx";RSVP=TRUE;PARTSTAT=NEEDS-ACTION;
 ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL;X-UID=94871627706416:mailto:
 xxx.Nickel@some.com
ATTENDEE;CN='Syiad T. Al-Duri';RSVP=TRUE;PARTSTAT=NEEDS-ACTION;
 ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL;X-UID=94871628180400:mailto:
 syiad.al-duri@some.com
ATTENDEE;CN=xxx.yyyy@some.com;RSVP=TRUE;
 PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL;
 X-UID=94871628180640:mailto:xxx.yyy@some.com
X-ALT-DESC;FMTTYPE=text/html:<html xmlns:v="urn:schemas-microsoft-com:
 vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:
 schemas-microsoft-com:office:word" xmlns:m="http:
 //schemas.microsoft.com/office/2004/12/omml" xmlns="http:
 //www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type 
 content="text/html\; charset=utf-8"><meta name=Generator 
 content="Microsoft Word 15 (filtered medium)"><style><!--\n/* Font 
 Definitions */\n@font-face\n	{font-family:"Cambria Math"\;\n	panose-1:2 4 
 5 3 5 4 6 3 2 4\;}\n@font-face\n	{font-family:Calibri\;\n	panose-1:2 15 5 
 2 2 2 4 3 2 4\;}\n/* Style Definitions */\np.MsoNormal\, li.MsoNormal\, 
 div.MsoNormal\n	{margin:0cm\;\n	font-size:11.0pt\;\n	font-family:
 "Calibri"\,sans-serif\;\n	mso-fareast-language:EN-US\;}\na:link\, 
 span.MsoHyperlink\n	{mso-style-priority:99\;\n	color:#0563C1\;
 \n	text-decoration:underline\;}\nspan.EmailStyle18\n	{mso-style-type:
 personal-compose\;\n	font-family:"Calibri"\,sans-serif\;\n	color:
 windowtext\;}\n.MsoChpDefault\n	{mso-style-type:export-only\;\n	font-size:
 10.0pt\;}\n@page WordSection1\n	{size:612.0pt 792.0pt\;\n	margin:72.0pt 
 72.0pt 72.0pt 72.0pt\;}\ndiv.WordSection1\n	{page:WordSection1\;
 }\n--></style><!--[if gte mso 9]><xml>\n<o:shapedefaults v:ext="edit" 
 spidmax="1026" />\n</xml><![endif]--><!--[if gte mso 9]><xml>\n<o:
 shapelayout v:ext="edit">\n<o:idmap v:ext="edit" data="1" />\n</o:
 shapelayout></xml><![endif]--></head><body lang=en-DE link="#0563C1" 
 vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p 
 class=MsoNormal><span lang=EN-US>Hello Everybody\,<o:p></o:
 p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp\;</o:
 p></span></p><p class=MsoNormal><span lang=EN-US>Here is the invite for 
 xxx.<o:
 p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp\;</o:
 p></span></p><p class=MsoNormal><span lang=EN-US>Best regards<o:p></o:
 p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp\;</o:
 p></span></p><p class=MsoNormal><span lang=EN-US>&nbsp\;&nbsp\;&nbsp\;
 &nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;
 &nbsp\;&nbsp\; xxx<o:p></o:p></span></p><p class=MsoNormal><span 
 lang=en-DE><o:p>&nbsp\;</o:p></span></p><p class=MsoNormal><b><span 
 lang=en-DE>You're invited to join a Microsoft Teams 
 meeting</span></b><span lang=en-DE><br><br>Title: xxx 
 2021/2022<br>Time: Wednesday\, 4 May 2022 13:30:00 Central European 
 Summer Time<br><br>Join on your computer or mobile app<br><a href="https:
 //teams.microsoft.com/l/meetup-join/19%3ameeting_xxx%40thread.v2/0?context=xxx">Click here to join the meeting</a><o:p></o:
 p></span></p><p class=MsoNormal><span lang=en-DE><o:p>&nbsp\;</o:
 p></span></p><p class=MsoNormal><span lang=EN-US>Link in clear text<o:
 p></o:p></span></p><p class=MsoNormal><span lang=EN-US><a href="https:
 //teams.microsoft.com/l/meetup-join/19%3ameeting_xxx%40thread.v2/0?context=xxx">https:
 //teams.microsoft.com/l/meetup-join/19%3ameeting_xxx%40thread.v2/0?context=xxx</a><o:p></o:p></span></p><p class=MsoNormal><span 
 lang=EN-US><o:p>&nbsp\;</o:p></span></p></div></body></html>
X-MICROSOFT-CDO-BUSYSTATUS:TENTATIVE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-DISALLOW-COUNTER:FALSE
X-MOZ-INVITED-ATTENDEE:mailto:syiad.al-duri@some.com
X-MOZ-RECEIVED-DTSTAMP:20220502T124747Z
X-MOZ-RECEIVED-SEQUENCE:0
X-MS-OLK-AUTOSTARTCHECK:FALSE
X-MS-OLK-CONFTYPE:0
CREATED:20220502T124747Z
UID:
 040000008200E00074C5B7101A82E00800000000F03EE796335ED801000000000000000010
 000000C41554B315229E438AA41B86C336F353
LAST-MODIFIED:20220502T130628Z
DESCRIPTION:Hello Everybody\,\n\n \n\nHere is the invite for the regular 
 xxx.\n\n \n\nBest 
 regards\n\n \n\n                xxx\n\n \n\nYou're invited to join a 
 Microsoft Teams meeting\n\nTitle: BR725 FMECA Update 2021/2022\nTime: 
 Wednesday\, 4 May 2022 13:30:00 Central European Summer Time\n\nJoin on 
 your computer or mobile app\nClick here to join the meeting <https:
 //teams.microsoft.com/l/meetup-join/19%3ameeting_xxx%40thread.v2/0?context=xxx> \n\n \n\nLink in clear text\n\nhttps:
 //teams.microsoft.com/l/meetup-join/19%3ameeting_xxx%40thread.v2/0?context=xxx\n\n \n\n
SUMMARY:xxx
LOCATION:Teams Meeting
PRIORITY:5
RRULE:FREQ=WEEKLY;COUNT=9;BYDAY=WE
DTSTART;TZID=Europe/Berlin:20220504T133000
DTEND;TZID=Europe/Berlin:20220504T140000
TRANSP:OPAQUE
BEGIN:VALARM
DESCRIPTION:Default Mozilla Description
ACTION:DISPLAY
TRIGGER:-PT15M
X-KDE-KCALCORE-ENABLED:TRUE
END:VALARM
END:VEVENT
BEGIN:VTIMEZONE
TZID:Europe/Berlin
BEGIN:DAYLIGHT
TZNAME:CEST
TZOFFSETFROM:+0000
TZOFFSETTO:+0200
DTSTART:19800406T010000
RDATE:19800406T010000
END:DAYLIGHT
BEGIN:STANDARD
TZNAME:CET
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
DTSTART:19971026T030000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
END:STANDARD
BEGIN:STANDARD
TZNAME:CET
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
DTSTART:19800928T030000
RRULE:FREQ=YEARLY;UNTIL=19961027T030000;BYDAY=-1SU;BYMONTH=9
RDATE:19950924T030000
END:STANDARD
BEGIN:DAYLIGHT
TZNAME:CEST
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
DTSTART:19810329T020000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
END:VTIMEZONE

END:VCALENDAR
Comment 3 Syiad 2022-05-03 17:12:19 UTC
For comparison, the remote ID of the (working) test recurring meeting is https://my.synology.nas:5001/caldav.php/syiad/home/1651595986.R154.ics, i.e. a proper URL.
Comment 4 gjditchfield 2022-05-05 02:23:19 UTC
(In reply to Syiad from comment #2)
> Here is one such meeting, which I have accepted via Thunderbird, because the
> invite e-mail was not properly rendered in KMail (probably a separate new
> bug).

That is probably bug 452480, which will be fixed in the next release
(or earlier if your packager picks up the patch).

> ATTENDEE;CN='Syiad T. Al-Duri';RSVP=TRUE;PARTSTAT=NEEDS-ACTION;
>  ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL;X-UID=94871628180400:mailto:
>  syiad.al-duri@some.com

I believe this is the problem.  Akonadi does not know you accepted the invitation,
so it is still marked "NEEDS-ACTION", and KOrganizer currently doesn't display
events unless it knows they have been accepted -- a known bug.

*** This bug has been marked as a duplicate of bug 436812 ***
Comment 5 Syiad 2022-05-05 09:42:06 UTC
(In reply to gjditchfield from comment #4)

> > ATTENDEE;CN='Syiad T. Al-Duri';RSVP=TRUE;PARTSTAT=NEEDS-ACTION;
> >  ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL;X-UID=94871628180400:mailto:
> >  syiad.al-duri@some.com
> 
> I believe this is the problem.  Akonadi does not know you accepted the
> invitation,
> so it is still marked "NEEDS-ACTION", and KOrganizer currently doesn't
> display
> events unless it knows they have been accepted -- a known bug.
> 

So shouldn't Thunderbird have changed it to "ACCEPTED" when I accepted the invite? Is this an additional bug in Thunderbird?
Comment 6 gjditchfield 2022-05-05 15:18:17 UTC
(In reply to Syiad from comment #5)
> So shouldn't Thunderbird have changed it to "ACCEPTED" when I accepted the
> invite? Is this an additional bug in Thunderbird?

Thunderbird sent an acceptance message back to the organizer of the
invitation, who would have updated his or her calendar.  Akonadi is an
internal database of KDE PIM that caches your calendar data;
Thunderbird doesn't know how to update it.

I don't use Thunderbird, but perhaps if it was configured to use your
CalDAV server as a source of calendar data, then it would have updated
the event on the CalDAV server directly.  Then Akonadi would detect the
change on the server and update the cached version to "ACCEPTED",
and KOrganizer would display it.
Comment 7 Syiad 2022-05-05 16:26:22 UTC
That's what I would have expected how it should work. Looking at the meeting with the Synology Calendar Web interface, I see that only the meeting organiser is shown as having accepted. All others, including myself, are shown as waiting for answer (which translates to NEEDS-ACTION, I suppose).

I have to use Thunderbird on Windows - and now on Kubuntu, because Kontact has all these issues (invites cannot be parsed KMail, meetings not showing in KOrganizer). However, I'd rather use Kontact if only it was dependable enough.