Bug 384023

Summary: IncidenceEditor sometimes clings to last remaining category
Product: [Applications] korganizer Reporter: Denis Kurz <kdenis>
Component: incidence editorsAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bberberov+kde, gjditchfield, null
Priority: NOR    
Version: 5.9.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Denis Kurz 2017-08-25 20:26:17 UTC
When de-selecting the last remaining category of an event and then trying to save, instead of saving, IncidenceEditor pops a dialog about some Akonadi exception.



Dialog 1: [incidencechanger.cpp:427 in akonadi-calendar]
Error while trying to modify calendar item. Error was: Akonadi::Exception: No objects specified
[OK]



Clicking OK leads to Dialog 2: [incidencedialog.cpp:490 in incidenceeditor]
Unable to store the incidence in the calendar. Try again?

Reason: Akonadi::Exception: No objects specified
[Yes] [No]



Yes loops back to dialog 1, No lets me control IncidenceDialog again, but without saving the item with no categories. A click on Abort in IncidenceDialog, and it asks me to discard changes. If I do, and reopen it for the same event, the category is still set.

Strangly, the issue does not occur on all my events, but on most. On some few, the dialog lets me remove all categories. I could not find any pattern, though.

Setting an arbitrary non-empty set of categories works for every event, only the empty set has this issue.

Version is 5.6.0, which is currently not in bugzilla (although underway).
Comment 1 Boian Berberov 2017-09-22 09:18:10 UTC
Occurs exactly as described above on openSUSE Tumbleweed, Korganizer 5.6.1, except I can never remove all categories.
Comment 2 Denis Kurz 2018-10-31 17:46:19 UTC
Still valid in 18.08.2.
Comment 3 gjditchfield 2021-01-28 01:43:19 UTC

*** This bug has been marked as a duplicate of bug 431297 ***