Simple-Calendar icon indicating copy to clipboard operation
Simple-Calendar copied to clipboard

Multiple/duplicated instances of events appearing

Open maze88 opened this issue 2 years ago • 17 comments

May be related to recurring events and/or changes being made (remotely?) to them.

See screenshots below, comparing...

Simple Calendar

Screenshot_20211230-125439

Google calendar

Screenshot_20211230-125841

maze88 avatar Dec 30 '21 15:12 maze88

What type of event is it? Some recurring one with exceptions, maybe it has been modified? Can you somehow reproduce the issue?

tibbi avatar Dec 30 '21 19:12 tibbi

Same over here. I have at least three different types where this occurs:

  • Recurring events with exceptions
  • Multi-day full-day events (not recurring)
  • single, non-recurring events.

Additional information (don't know if related):

  • For me, it only happens in one of several calendars
  • This calendar contains (among other events) two recurring series from which I delete single events through the app on a regular basis
  • Events deleted from the series above have the tendency to reappear (sometimes just reappear, sometimes as doubled events) although they are no longer on the server calendar they are synced to and from.

If I can be of any help (log files or the like...), please let me know.

benedetto avatar Jan 01 '22 20:01 benedetto

I could use some exact steps for reproducing the issue. Are you syncing via Google or some other service?

tibbi avatar Jan 01 '22 20:01 tibbi

I'm synching via Davx5 to a Nextcloud instance.

Unfortunately I cannot give you any steps to reproduce the behavior – I have noticed it some weeks (maybe even months) ago, but don't know for how long it already existed before or whether I did something special beforehand.

benedetto avatar Jan 01 '22 21:01 benedetto

I'm curious if we get this reproducible. Happens to me from time to time, for many versions of SimpleCalendar. For me never reproducible, thought sometimes bug disappeared and reintroduced a while later. But, maybe helpful, 100% possible workaround was and is, all my calendars synched via calDAV, to remove calendar(s) from sync options, wait until events disappear, and re-add calendar(s) to be synched again.

michaelof avatar Jan 01 '22 21:01 michaelof

I'm still trying to find a way to reproduce it; glad to hear others are experiencing & trying too!

Some -stll untested- thoughts:

  • Could be related to shared calendars: i.e. I have two calendars synced with the app, but between them (via gsuite) they're also shared and visible to each other - or at least one way.
  • Could be caused by having an additional address associated with the inbox, and it also being invited to the event: i.e. my [email protected] was configured to also receive emails sent to [email protected]. If both addresses are invited to the event, it may appear duplicated.

maze88 avatar Jan 02 '22 17:01 maze88

I'm still trying to find a way to reproduce it; glad to hear others are experiencing & trying too!

Some -stll untested- thoughts:

* Could be related to shared calendars: i.e. I have two calendars synced with the app, but between them (via gsuite) they're also shared and visible to each other - or at least one way.

* Could be caused by having an additional address associated with the inbox, and it also being invited to the event: i.e. my `[email protected]` was configured to also receive emails sent to `[email protected]`. If both addresses are invited to the event, it may appear duplicated.

For my case I'm pretty sure that both thoughts so not apply.

benedetto avatar Jan 02 '22 18:01 benedetto

An additional observation I just noticed: I appear to have many triplicates events in the past, [some] duplicates in the current month, and the future looks alright...

maze88 avatar Jan 02 '22 21:01 maze88

Same thing here with davx5 and my personal NextCloud.

No problem with my pro events (davx5 too but not nextcloud)

bristow avatar Jan 08 '22 11:01 bristow

Anyone having any luck trying to reproduce this?

maze88 avatar Jan 19 '22 06:01 maze88

On my side: Using a google account, on planned meetings, it looks like duplicates. However, looking more precisely, there's a small difference. On one event I'm listed as "Invited" and on the other one "Going". So I guess there's a need to check which one of both is the older and validate this one?

EDIT : I know have triplicates.

For debugging purposes, is it possible to dump the data the calendar entry is generated from?

noudin-ledger avatar Apr 11 '22 12:04 noudin-ledger

Same here.... I'm using CalDav at work to copy my Outlook calendar into a separat calendar in my Nextcloud instance (one-way). My Android 12 mobile phone synchronize this calendar with DAVx5 (read-only). The recurring appointments get multiply during the Simple Calendar synchronize/refresh action. I can reproduce it when I do this manually. But not every time and also not all appointments are affected. Havn't found a pattern so far.

In the Google Calendar app everything looks fine. So from my understandig the calendar storage contains only one appointment where Simple Calendar shows two or more (see pics).

Google_Calendar

Simple_Calendar

JasMan78 avatar Jul 31 '22 13:07 JasMan78

Thank you all for providing this info, pls check out this potential fix

naveensingh avatar Jul 31 '22 22:07 naveensingh

@benedetto

Same over here. I have at least three different types where this occurs:

Recurring events with exceptions

I was able to reproduce the first case by creating a recurring event with exceptions but only the exception events (modified occurrences of the original repeating event) were duplicated on sync and the original recurring events were not. I was able to pinpoint the bug and squash (possibly) it as mentioned in my other comment

Multi-day full-day events (not recurring) single, non-recurring events.

I'm not having any luck with reproducing these two cases. Can you share more details so I/we can try to recreate the event? Or maybe export and attach an ICS file here (containing only the events in question)?

thx

EDIT:

Maybe the later two cases are occurrences of repeating events but modified so much that they now "appear" as separate events?

EDIT 2:

Are these multi-day full-day events duplicated only twice or do they keep adding up on each sync as in the case of recurring events?

naveensingh avatar Aug 01 '22 20:08 naveensingh

I've installed the fix. So far everything looks fine. Will report again in a few days. Thanks for your great work @Naveen3Singh .

JasMan78 avatar Aug 02 '22 08:08 JasMan78

@benedetto

Same over here. I have at least three different types where this occurs: Recurring events with exceptions

I was able to reproduce the first case by creating a recurring event with exceptions but only the exception events (modified occurrences of the original repeating event) were duplicated on sync and the original recurring events were not. I was able to pinpoint the bug and squash (possibly) it as mentioned in my other comment

Cool, thanks.

Multi-day full-day events (not recurring) single, non-recurring events.

I'm not having any luck with reproducing these two cases. Can you share more details so I/we can try to recreate the event? Or maybe export and attach an ICS file here (containing only the events in question)?

Unfortunately, the problem did not appear anymore die sind time now, so I can't provide any example right now.

thx

EDIT:

Maybe the later two cases are occurrences of repeating events but modified so much that they now "appear" as separate events?

EDIT 2:

Are these multi-day full-day events duplicated only twice or do they keep adding up on each sync as in the case of recurring events?

As already written above, I haven't had any occurrences of such doublings lately. But as far as I remember, it was only doubled, but not multiplied with each sync.

benedetto avatar Aug 06 '22 10:08 benedetto

Hey, with the test APK I don't have multiplicates anymore!

noudin-ledger avatar Aug 08 '22 08:08 noudin-ledger