Bug 458020

Summary: Changing calendar/agenda of existing task with subtasks results in ‘dirty’ akonadi pimitems
Product: [Applications] Merkuro Reporter: Erik Quaeghebeur <bugs.kde.org>
Component: generalAssignee: Claudio Cambra <claudio.cambra>
Status: REPORTED ---    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: 22.04.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Erik Quaeghebeur 2022-08-18 08:36:16 UTC
SUMMARY
I changed the calendar/agenda of an existing task with subtasks (using the top selectbox in the task editing window). The main task seemed to change calendar/agenda (color change), but it subtasks didn't (no color change, still visualized as subtasks). Afterwards, it turned out that it had created a mess, as the subtasks became ‘dirty’ akonadi pimitems (messing with any further synchronization) and the main item apparently reverted to the original calendar/agenda.

STEPS TO REPRODUCE
1. Change calendar/agenda of an existing task with subtasks

OBSERVED RESULT
Subtasks become dirty; whole operation fails in the end

EXPECTED RESULT
Whole subtree rooted in changed task is moved to calendar/agenda the main task was changed to

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.5