Bug 446216

Summary: Due date changes for todos not being saved, for fresh todos due date rolls back to previous day
Product: [Frameworks and Libraries] Akonadi Reporter: Claudio Cambra <claudio.cambra>
Component: Google ResourceAssignee: Daniel Vrátil <dvratil>
Status: REPORTED ---    
Severity: normal CC: kdepim-bugs
Priority: NOR    
Version: 5.18.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Video of bug in Kalendar
Video of bug in KOrganizer
AkonadiCTL terminal output

Description Claudio Cambra 2021-11-28 23:42:12 UTC
Created attachment 144051 [details]
Video of bug in Kalendar

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

Adding a new todo within a Google calendar has bugs regarding the due date.

When a new todo is created and it is set to have an all-day due date, when the collection refreshes the date will be rolled back to the previous day.

If one tries to edit the due date for a task, the edit will be reverted once the collection refreshes.

Can reproduce on both Kalendar and KOrganizer.

STEPS TO REPRODUCE
1. Create a new task within a Google Calendar
2. Assign a due date and save
3. Wait for the parent collection to refresh automatically or manually refresh and see the dates get rolled back to the previous day

or...

1. Edit a task's due date and save the changes
2. See the dates revert to their previous due dates upon refresh

OBSERVED RESULT

Todos' due dates change on calendar refresh.

EXPECTED RESULT

Todos' due dates should remain the same as the user has set them.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION

I have attached a video showing the issue.
Comment 1 Claudio Cambra 2021-11-28 23:44:42 UTC
Created attachment 144052 [details]
Video of bug in KOrganizer
Comment 2 Claudio Cambra 2021-11-28 23:56:47 UTC
For what it's worth, I have authenticated with OAuth and not an app-specific password.
Comment 3 Claudio Cambra 2021-11-28 23:58:15 UTC
Created attachment 144053 [details]
AkonadiCTL terminal output