Bug 360032

Summary: agenda entries not visible
Product: [Applications] korganizer Reporter: Kees Bergwerf <kees>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: major CC: dvratil, gjditchfield, kdenis, okurz, rigo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: test calendar entry ending up invisible

Description Kees Bergwerf 2016-03-03 15:43:13 UTC
At first I used the KAlarm file but even when it is in the setup, I can not select it in the agenda when making appointments. So I changed to an Ical agenda file and it seems to work.
But...
When I enter a date/time only for me local, it is visible at the right in the overview of that day.
But as soon as I enter a participant, somebody who gets an email about it, the entry is disappeared from the overview. Also the notification is gone, when I should be warned lets say 15 minutes before.
Using kde-apps-15.12.2

Reproducible: Always

Steps to Reproduce:
1. create an appointment
2. it is visible in the overview
3. change it and add a participant.... entry disappeared.


Expected Results:  
Entry should be visible whatsoever.
Notifications should be given always.

From the Ical file, when entered a local appointment only:
BEGIN:VEVENT
DTSTAMP:20160303T152133Z
CREATED:20160303T152133Z
UID:9053a7b1-8774-47b9-83f7-8108922bda48
LAST-MODIFIED:20160303T152133Z
DESCRIPTION;X-KDE-TEXTFORMAT=HTML:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">\n<html><head><meta
 name="qrichtext" content="1" /><style type="text/css">\np\, li {
 white-space: pre-wrap\; }\n</style></head><body style=" font-family:'Noto
 Sans'\; font-size:10pt\; font-weight:400\; font-style:normal\;">\n<p
 style=" margin-top:0px\; margin-bottom:0px\; margin-left:0px\;
 margin-right:0px\; -qt-block-indent:0\; text-indent:0px\;">At first
 without participants</p></body></html>
SUMMARY:Appointment at 17:30
DTSTART;TZID=Europe/Amsterdam:20160303T171500
DTEND;TZID=Europe/Amsterdam:20160303T181500
TRANSP:OPAQUE
BEGIN:VALARM
DESCRIPTION:
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:-PT15M
X-KDE-KCALCORE-ENABLED:TRUE
END:VALARM
END:VEVENT

After adding a participant:

BEGIN:VEVENT
DTSTAMP:20160303T152319Z
ATTENDEE;CN="werkplaats";RSVP=TRUE;PARTSTAT=NEEDS-ACTION;
 ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL;
 X-UID=5d8d522a-da67-489a-bf8f-c476c47482dc:mailto:
 werkplaats@bergwerf.com
CREATED:20160303T152133Z
UID:9053a7b1-8774-47b9-83f7-8108922bda48
SEQUENCE:2
LAST-MODIFIED:20160303T152319Z
DESCRIPTION;X-KDE-TEXTFORMAT=HTML:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">\n<html><head><meta
 name="qrichtext" content="1" /><style type="text/css">\np\, li {
 white-space: pre-wrap\; }\n</style></head><body style=" font-family:'Noto
 Sans'\; font-size:10pt\; font-weight:400\; font-style:normal\;">\n<p
 style=" margin-top:0px\; margin-bottom:0px\; margin-left:0px\;
 margin-right:0px\; -qt-block-indent:0\; text-indent:0px\;">At first
 without participants</p></body></html>
SUMMARY:Appointment at 17:30
DTSTART;TZID=Europe/Amsterdam:20160303T171500
DTEND;TZID=Europe/Amsterdam:20160303T181500
TRANSP:OPAQUE
BEGIN:VALARM
DESCRIPTION:
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:-PT15M
X-KDE-KCALCORE-ENABLED:TRUE
END:VALARM
END:VEVENT
Comment 1 Oliver Kurz 2017-01-04 17:50:34 UTC
Created attachment 103196 [details]
test calendar entry ending up invisible

I can confirm this issue. When I import the attached calendar entry it ends up in the calendar which I can confirm with akonadiconsole as well as when syncing the according calendar to other calendars, e.g. google calendar.

The following change fixes this:

```
-ATTENDEE;RSVP=FALSE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;
+ATTENDEE;RSVP=FALSE;PARTSTAT=ACCEPTED;ROLE=REQ-PARTICIPANT;
```

The problem is that korganizer imports invitations with `PARTSTAT=NEEDS-ACTION` set which therefore end up invisible.
Comment 2 Rigo Wenning 2019-02-19 09:53:53 UTC
Confirmation with Opensuse Tumbleweed 2019-02-05. Can this be fixed?
Comment 3 Daniel Vrátil 2023-11-12 10:16:56 UTC
I can't reproduce the issue with the attached file on current git master of KDE PIM. I suspect this may have been a bug in libical instead of KOrganizer itself, and most likely has been fixed in the meantime.

Please feel free to reopen the bug if you can still reproduce the issue with an up-to-date version of KDE PIM. Also mention the version of libical that you have installed, please.