Bug 421916 - Events not shown when PARTSTAT=NEEDS-ACTION for current identity
Summary: Events not shown when PARTSTAT=NEEDS-ACTION for current identity
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 5.13.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-22 13:58 UTC by Jan Bundesmann
Modified: 2024-02-21 07:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example ICS file (1.31 KB, text/calendar)
2020-05-22 13:58 UTC, Jan Bundesmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Bundesmann 2020-05-22 13:58:18 UTC
Created attachment 128693 [details]
Example ICS file

SUMMARY
Bug is related to https://bugs.kde.org/show_bug.cgi?id=352214.
For me it is still relevant since this also affects events that I did not create. They have been synced from Office365 in this case through DavMail but the scenario can be reproduced with simple files.

STEPS TO REPRODUCE
1. Import the .ics-file from the attachement - go to may 20, 2020: there should be an event labelled "test".
2. Manually change the file and in the section "ATTENDEE"; replace your@email.org with the email you entered in your kmail profile.

OBSERVED RESULT
The event disappears.

EXPECTED RESULT
The event should stay visible

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-31-generic
OS Type: 64-bit

ADDITIONAL INFORMATION
Problem appears with Office365. Event after accepting an invitation this tags stays and an additional entry PARTSTAT=ACCEPTED is added as well. For some calendar apps the latter one probably overwrites the first one. korganizer apparently behaves differently. Since this is quite specific, I would not give it super high priority, but unfortunately the EWS agent is currently also broken (does not store credentials anymore).
Comment 1 Daniel Vrátil 2024-02-21 07:50:15 UTC
So, here's an answer on what's going on:

Some years ago, special "Search" -> "Open Invitations" and "Declined Invitations" calendars were introduced. Those calendar should contain all your open ("unanswered") and declined invitations from all calendars. To prevent such events appearing twice in KOrganizer, an additional filter was added to code that hides those events from regular calendars. The problem is that users often don't have those calendars enabled, and that the special "Search" collections don't work reliably at all and thus events might be missing.

I have accidentally fixed this in git master (to be released 24.02) by porting event views away from ETMCalendar, so this filter was also removed, thus you will start seeing open and declined invitations in your main calendars again.

Related: bug #418811, #412722.

Current git master (to be released in 24.05) will have a checkbox in KOrganizer settings to allow to hide declined events globally.