39aldo39 / DecSyncCC

Android app to sync contacts, calendars and tasks without a server using DecSync
GNU General Public License v3.0
235 stars 10 forks source link

Crash when modifying a reccuring event #27

Closed paper42 closed 4 years ago

paper42 commented 4 years ago

steps to reproduce

  1. setup a decsync calendar
  2. create a recurring event
  3. delete one occurence from the middle
  4. synchronize with decsync
java.io.FileNotFoundException: Couldn't find event 10
    at at.bitfire.ical4android.AndroidEvent.getEvent(AndroidEvent.kt:151)
    at org.decsync.cc.calendars.LocalEvent.writeUpdateAction(LocalEvent.kt:54)
    at org.decsync.cc.calendars.CalendarsService$CalendarsSyncAdapter.onPerformSync(CalendarsService.kt:121)
    at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:334)
39aldo39 commented 4 years ago

I cannot reproduce this crash, because I cannot delete one occurrence when the event is not yet synchronized in Etar. Maybe you can do so in other calendar applications, if so which one did you use? Note that I can do it with an extra sync between 2 and 3, but then there is no crash.

paper42 commented 4 years ago

I tried triggering the error again, but I wasn't successful. This is weird, because I was running into it all the time. The only thing that changed is that I upgraded to Android 10. I think you can close it.