Simple-Calendar
Simple-Calendar copied to clipboard
Entries are doubled
Hi, my appointments which are synced via davx5 are shown twice. Etar calendar does not have this problem. Any idea how to fix it?
Thanks for your support.
what app and OS version are you using?
App Version 6.17.2 OS: color OS 11 based on android 11
The app is loaded from fdroid
you mean all events, or are those birthdays only? If you trigger some manual syncing, doesnt it create even more copies?
The Birthdays are only once there. But the appointments of my main davx5 synced calender which is hosted in the nextcloud are shown twice (doubled). This is not the case with Etar calendar which means they (the appointments) are there only once and the bug is induced from simple calendar
only events made on Friday do this for me
Samsung s20 5g, fdroid, Android 12, davx5. syncing with my nextcloud calendar. The default samsung calendar does not add any additional events upon syncing. refreshing adds an additional event each time only on this particular calendar app.
seems to occur when an event on the app cannot be written to the nextcloud calendar db
Hi. I have the same issue with contacts birthdays. It duplicates contacts birthdays and on some contacts "triplicates". I am not sure if this is the issue, but I think it does that because it sync with all accounts from my device. If I open the calendar app and go to settings-add contact birthdays, it adds the birthdays, but after I open Whatsapp or another app that uses contacts and I go back in the calendar app, it doubles the contacts birthdays. Hope that I explained it well.
@topcaser Can you pls export and attach the .ics file of the duplicated events here?
That would really help in debugging this issue. Thanks
How to: Tap on the three dots in the top-right corner => tap on "Export events to an .ics file" => Choose storage location for export
Hi, I can't upload all my private events. Sorry. But I can test a possible fix.
I am having this same problem - Version 6.16.2 Pro - Android 11 - ArrowOS v11.0
hi i have the same problem only some events are duplicated i am not able to produce a event that duplicates but i can share a .ics file that has one (i removed all events except the related one and changed the name) steps i took to reproduce
- save duplicate.txt as a .ics file
- open the .ics file with Thunderbird
- edit all occurrences and change the Calendar from the file to a caldav calendar
- sync the calendar with simple calendar
- each time i sync the event will be duplicated the duplicated event is on 2021-12-29
i use a self hosted baikal caldav server and phone is a Fairphone 4 with /e/ os davx5 to sync caldav on my phone and Thunderbird on my laptop the calendar app is version 6.18.3 pro (from Fdroid) Android is version 11
Alright, thanks for this much-needed info @vista-narvas
I'll soon check if I can reproduce the bug using these steps.
i think this bug is caused by editing a ocurance of a event thats is repeated. but im still not able to force it @Naveen3Singh have you had the time to look into this ?
All right, I was able to reproduce this thanks to the instructions by @vista-narvas and others
If anyone still has such duplicated events, here's a test apk that shouldn't cause duplication on CalDAV sync anymore (already duplicated events will stay there for now)
if installing an apk is not an option, the branch to compile from is https://github.com/Naveen3Singh/Simple-Calendar/tree/caldav_duplication
thanks!
But the appointments of my main davx5 synced calender which is hosted in the nextcloud are shown twice (doubled).
@topcaser are these part of a recurring event as in the case of @vista-narvas? or is it a single non-recurring event that is duplicated?
But the appointments of my main davx5 synced calender which is hosted in the nextcloud are shown twice (doubled).
@topcaser are these part of a recurring event as in the case of @vista-narvas? or is it a single non-recurring event that is duplicated?
Hi, my problem isn't gone with the latest update although e. g. Etar doesn't have it. Affected is an appointment which spans over several days (but it is not recurring): "Sommerferien". Furthermore some recurring events like birthdays are affected.
If you need help for debugging let me know.
@topcaser will you be able to test the fix APK linked in my previous comment?
an ICS file containing just the multi-day event that is being duplicated would be a great help
Hi, the testversion didn't work for me. All duplicates are still there. As requested here is an ics, I deleted the rest of the appointments and hopefully the ics is still well formed: click
@topcaser thx much! That did help reproduce the issue (although very indirectly, had to trigger a very rare code path).
one last thing :) :arrow_down:
These events are duplicated only twice right? Have you tried deleting one of them? If yes, does it delete the whole event from the server or only the locally duplicated one (after sync)?
(if you wanna try, don't try without backing up, I think it'll delete the event on the server too)
@Naveen3Singh Thank you for the build. for me it fixed the issue.
Hi, you are right, if I delete one of the duplicates and sync to the server, both are gone. But if I create the event newly, it's only once there. Really strange where the duplicates come from an why they are there.
glad to see this randomly occurring bug is being studied
Great work everyone 👏
On August 3, 2022 4:46:55 AM UTC, topcaser @.***> wrote:
Hi, you are right, if I delete one of the duplicates and sync to the server, both are gone. But if I create the event newly, it's only once there. Really strange where the duplicates come from an why they are there.
-- Reply to this email directly or view it on GitHub: https://github.com/SimpleMobileTools/Simple-Calendar/issues/1658#issuecomment-1203479726 You are receiving this because you commented.
Message ID: @.***> -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Is anyone here still experiencing this issue?