CalDAV - Many changes get reverted on sync #1460

Open
opened 2023-04-02 19:59:53 +00:00 by dead10ck · 8 comments
Contributor

Description

When using Tasks.org on Android with DAVx for syncing, when many changes are made in between syncs, they seem to be mostly or wholly reverted when synced with Vikunja. I've taken a screen recording of this happening.

Vikunja Frontend Version

0.20.5

Vikunja API Version

0.20.4

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

### Description When using Tasks.org on Android with DAVx for syncing, when many changes are made in between syncs, they seem to be mostly or wholly reverted when synced with Vikunja. I've taken a screen recording of this happening. ### Vikunja Frontend Version 0.20.5 ### Vikunja API Version 0.20.4 ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
dead10ck added the
kind/bug
label 2023-04-02 19:59:53 +00:00
Owner

Which details specifically? Other than repeating intervals (those are already covered in #1459)

Which details specifically? Other than repeating intervals (those are already covered in #1459)
Author
Contributor

You can see in the video, but specifically on some, I just changed the due dates and those were reverted back to what they were before I changed it. e.g. the one named "Taxes", I only changed the due date from yesterday to today with no other changes, and that was reverted as well. But if I change only that one task and then sync, it syncs successfully with Vikunja. It seems to happen when the are multiple changes queued up that need to be synced.

You can see in the video, but specifically on some, I just changed the due dates and those were reverted back to what they were before I changed it. e.g. the one named "Taxes", I only changed the due date from yesterday to today with no other changes, and that was reverted as well. But if I change only that one task and then sync, it syncs successfully with Vikunja. It seems to happen when the are multiple changes queued up that need to be synced.
Author
Contributor

I just tried it with a few tasks where I only changed the due date and no other details, and this still happens, so it doesn't seem to be related to task recurrence.

I just tried it with a few tasks where I only changed the due date and no other details, and this still happens, so it doesn't seem to be related to task recurrence.
Owner

I was not able to reproduce this with a test task in try. Does it work for you there?

I was not able to reproduce this with a test task in [try](https://try.vikunja.io). Does it work for you there?
Author
Contributor

I was able to reproduce this with this list

https://try.vikunja.io/projects/1/list

You can see I added 5 tasks, labeled "D1" through "D5". I set up CalDAV with DAVx and used Tasks.org to change all the due dates to today at 20:30. It looks like D1 was changed successfully, but the rest were reverted to their previous due date.

I was able to reproduce this with this list https://try.vikunja.io/projects/1/list You can see I added 5 tasks, labeled "D1" through "D5". I set up CalDAV with DAVx and used Tasks.org to change all the due dates to today at 20:30. It looks like D1 was changed successfully, but the rest were reverted to their previous due date.
Author
Contributor

Just based on your wording

a test task

Did you try it with more than one task at a time? As I mentioned in previous comments, syncing a single task seems to work, but it's when syncing changes to multiple tasks that this problem happens.

Just based on your wording >a test task Did you try it with more than one task at a time? As I mentioned in previous comments, syncing a single task seems to work, but it's when syncing changes to multiple tasks that this problem happens.
Owner

I checked this again and it seems to work. I used the caldav integration from within Tasks.org, not DavX5. Does it work with that for you?

I checked this again and it seems to work. I used the caldav integration from within Tasks.org, not DavX5. Does it work with that for you?
Author
Contributor

Ok I can confirm it doesn't seem to happen with the integrated CalDAV account type, rather than DAVx. So this issue seems specific to DAVx. The integrated client seems substantially slower than DAVx, but at least it works, so I'll use that until the DAVx issue is fixed. Thanks!

Ok I can confirm it doesn't seem to happen with the integrated CalDAV account type, rather than DAVx. So this issue seems specific to DAVx. The integrated client seems substantially slower than DAVx, but at least it works, so I'll use that until the DAVx issue is fixed. Thanks!
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1460
No description provided.