Duplicate calendar entries

  • I’m using ICSDroid (installed via f-droid) to sync my meetup.com, facebook.com, and kayak.com ICS feeds on a Moto X4, Android 7.1.1. After some time there are many duplicates of some events. It seems to affect all of the calendars. Right now I’m looking at 6 copies of the same event from Facebook, 4 copies of another event from Kayak, and 2 copies of an event from Meetup.

    I’m not sure how to reproduce other than to provide my private URLs. Is there any steps I can take to try debugging the problem?

  • developer

    Are you using the latest version of ICSdroid?

    You can have a look at the entries and maybe you find out something… see the adb commands at https://www.davdroid.com/faq/how-to-debug/

  • I have the same issue, some events are duplicated four, five, six times. Using the link above leads me to debugging DAVDroid, not ICSDroid.

    In ICSDroid, I also can't find extra logging or debugging options.
    How can this issue be solved?

  • developer

    For ICSdroid, you can only use logcat at the moment (the adb commands are the same as for DAVdroid).

    Otherwise, you can post your calendar URLs here and I can have a look whether this can be reproduced here.

    Edit: I just had an idea where the duplicated events may come from. Maybe the system calls ICSdroid sync multiple times at the same time (which should not happen). Working around this has fixed some mysterious "duplicated entries" problems, too…

  • Hi,

    as I have the same issue as others I followed the steps described above. I analyzed one specific calendar entry, it is 3 times visible, all parameters (beside Row) are identical except the "_id" parameter. I have uploaded the file ...

    source are iCalendar feeds from TeamUp (www.teamup.com), if someone wants to reproduce that, it's a free team calendar.

    Syncing calendar feed fails once in a while (I have supressed notifications from icsdroind), so it might be, that these duplicate entries are because of failed syncs?




  • developer

    I guess this could have be worked around by https://gitlab.com/bitfireAT/icsdroid/commit/5abdcf7bb09f3fce1cf6a0a764803e1a271f0671 (helps at least for DAVdroid).

    I have sent you an APK for testing, can you please report whether it now works for you?

  • Hi,

    I'm experiencing the same problem: Many calendar entries are duplicated (some of them as often as 10 times). As I also see syncing issues from time to time, my problem might be solved by the commit you were referencing.
    I'm using the current version from F-Droid.

    Could you also send me a build with the respective changes? I managed to build an updated apk myself, but I cannot update the existing installation as I can't sign it with the same certificate (and I don't want to loose my settings).

    Greets and thanks for the effort,

  • developer

    @fränk The patch is in ICSdroid since 1.5.5. Did you remove your subscription and add it again since you have updated to 1.5.5?

  • @rfc2822 Sorry for my late reply. I had not tried re-adding all subscriptions (I actually wanted to avoid that). Anyways, I did it now and will report back if the error persists.
    Thanks for the support!