Bug 421214

Summary: can not deselect last category in events
Product: [Frameworks and Libraries] Akonadi Reporter: mail
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: normal CC: winter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:

Description mail 2020-05-09 08:23:32 UTC
STEPS TO REPRODUCE
1. create a new calandar event 
2. cerate a new category for this event (annoying UI for this) or select an existing category
3. revisit the event and _deselect_ the category

--> "Error while trying to modify calendar item. Error was: Akonadi:Exception: No objects specified"

EXPECTED RESULT
Event should be modified and show no category selected after saving the modification.

If there are more than one category I can deselect categories under the condition there is still one category left as ticked.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
I tried the manjaro-kde-20.0-200426-linux56.iso
and the neon-user-20200507-1116.iso in VirtualBox 6.1.6
It is bugging me on Manjaro Stable installed on AMD64 hardware.

KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Did also not work last week before the upgrade to Plasma 5.18.5
Comment 1 mail 2020-09-09 06:02:22 UTC
can still reproduce it in these versions:

KOrganizer Version 5.15.1 (20.08.1)

KDE Plasma 5.19.5
KDE Frameworks 5.73.0
Qt 5.15.0 (kompiliert gegen 5.15.0)

Kernel 5.4.62-1-MANJARO
Comment 2 Allen Winter 2020-09-15 22:25:13 UTC
verified.
also this nit: the uneditable category line edit contains "Click to add tags".  which is untrue.  clicking in the line edit does nothing.
Comment 3 Allen Winter 2020-09-19 14:27:59 UTC
reassign this to akonadi
Comment 4 mail 2021-01-29 06:57:16 UTC
can still reproduce it in these versions:

KOrganizer Version 5.16.1 (20.12.0)

KDE Plasma 5.20.5
KDE Frameworks 5.78.0
Qt 5.15.2 (kompiliert gegen 5.15.2)

Kernel 5.4.89-1-MANJARO
Comment 5 mail 2021-06-21 09:10:50 UTC
I still can reproduce it in

Debian testing (Bullseye) of 2021-06-21

KOrganizer Version 5.15.3 (20.08.3)

Operating System: Debian GNU/Linux 11
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.0-7-and64

======================================
I can NOT reproduce it in

KOrganizer Version 5.17.1 (21.04.1)

Operating System: Manjaro Linux
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.10.42-1-MANJARO