Gets in bad sync state after a few days
While debugging in #486 and trying !145 (merged) I ran into an odd bug.
When left open for days, eventually the sync state gets out of whack. The "header" in the left nav bar ("Google" in my case) is doubled, then each list from that service is also doubled. So:
Google
------
Google
------
Some list
Some list
Some other list
Some other list
Yet another list
Yet another list
And attempting to mark any item in any such list as done results in:
(endeavour:77640): GtdTaskRow-WARNING **: 16:17:01.710: Error updating task: Cannot modify calendar object: Failed to call tasks::update: Cannot find a corresponding account in the org.gnome.OnlineAccounts service from which to obtain an access token for “To Do”
Steps to reproduce:
- Open Endeavour
- Setup a Google backended list
- Wait a week