The workaround worked for me too (owncloud 8.1 and davroid 0.8.4).
Exported the contacts from owncloud, removed with a text editor all the @ part in the UUID and then reimported.
Thank you
Task sync occasionally deletes all tasks locally
-
Both. This annoying behavior is since 0.8.4. I have one device with latest version of davdroid and one with 0.8.4 - I don’t want to upgrade due to this bug. 0.8.4 works fine all the time with all lists, calendars and tasks.
-
@akero Unfortunately, I haven’t seen this yet. Tasks disappear in the widget sometimes, see OpenTasks issue 153 on GitHub.
Maybe you can provide verbose logs or some other hint? I really don’t have an idea what could be the cause of your problem, and I use tasks myself and they work here.
-
Ok, I’ll get you the log next week. Sorry, but can’t do it sooner. Temporary fix for me is to disable global sync and refresh lists manually.
-
@akero Ok. I have experienced the “tasks disappear in the widget” problem myself, so you’re really sure that the lists are empty in the Tasks app, too?
-
Yes, I open Tasks application and see the list where only a few top lists have items.
-
And I don’t even use task widget on device with 0.9.x
-
@akero If this happens, a copy of the Tasks database (
/data/data/org.dmfs.tasks/databases/tasks.db
) would also be useful (send to play@bitfire.at to keep it confidential). -
I think I have found the problem:
AndroidTask.delete()
didn’t delete a specific task (as it should) locally, but all tasks. That means if- you delete a task in the CalDAV calendar,
- and then synchronize (automatically or manually),
- DAVdroid will see that the task is missing and try to delete it locally, but by mistake delete all tasks locally,
- continue synchronization and download the remaining tasks. If the delete operation was the last one, there are no tasks left, otherwise some tasks are left.
- At next synchroniziation, the remaining tasks (which have been deleted locally) are downloaded again.
This has been fixed with ical4android/7df1b515.
-
Sounds great, thanks!
-
I can confirm this works, so I sent you a donations. Thanks!