[Owncloud] Calendar event sync issues

Stephan Hesmer mailings at hesmer.name
Fri Aug 31 17:32:20 UTC 2012


Hello everybody,

I have been using OwnCloud for the past two months and are very excited about it - I simply love it.

Unfortunately I stumbled upon a bug which is hard to track down in the code, otherwise I would have reported it earlier. At least by now I am certain that the error is not caused on my side, e.g. hosting.

How to reproduce:
1. Use iOS device with version 5.1.1
2. Connect to your owncloud server using CalDAV
- I have been using my own server on hostmonster.com with https, but I get the same error on owncube.com with a personal account
3. Create a new event in the standard calendar app
4. Update the starting time 4 times in a row.
4.1. It is important to press done so that you start the sync process in the background
4.2. So click on the event, press edit, click on the time, select one hour later, press done, press done, now start with edit again.
5. After this has been done 4 times in a row wait for the update icon in the top bar to finish. You will notice that the event suddenly jumps to an earlier time and not the latest.
=> Result: your latest update is lost.

I can reproduce this with every field, I just used the start/end time here to have an as simple usecase as possible.

Example:
Create Event on 8/31 at 2pm. Immediately update to 3pm, then immediately to 4pm, then immediately to 5pm, the immediately to 6pm.
After the sync process finished it usually jumps back to 4pm or 5 pm - correct would be 6pm.

Notes:
* I am using OwnCloud 4.0.7
* I can reproduce this with an empty calender on owncube.com and my ownserver with a calender running on MySQL and SQLlite.
* I believe this is a runtime condition because the error doesn't happen all the time, but the more events you have in your calender the more likely it is to appear. In the test above with an empty calender you have to do all of those steps without a pause to have the error show up.
* There is no error in the php error log

I was trying to look at the code but don't know the flow from the remote.php into the calDAV code, especially since there is the 3rd party code that handles all the syncing.
I am more than happy to help the community out in debugging this issue but need a bit help along the way to find the right files. Is there any tracing I can turn on? And where would I find that?

At this point I am very dedicated to this because if I cannot fix this, I have to move back to zimbra where the error did not appear, but I love owncloud too much as that I want to abandon it :)

Thanks so much and looking forward working with you
Stephan


More information about the Owncloud mailing list