Home › Forums › Calendar Products › Events Calendar PRO › iCal importer creating duplicate events
- This topic has 22 replies, 3 voices, and was last updated 10 years ago by
Nico.
-
AuthorPosts
-
April 3, 2016 at 8:22 am #1097537
krosebraugh
ParticipantMy clients is seeing duplicate events on their events calendar. http://www.dellagoacademy.org/events/
I think what is happening is that someone on their end changes the name or details of an event and iCal imports the event with the changed name or details as a new event.
If you go to the link above you can see what I mean.
Can anyone help with this?
Thanks.
April 4, 2016 at 5:42 pm #1098119krosebraugh
ParticipantActually if you link to the above site you will not see the duplicates because I manually deleted them. I also went into the importer settings and checked the the box that says: If checked the importer will update/overwrite the recurring events when they are changed in the source.
Should this fix my issue going forward?April 5, 2016 at 6:23 pm #1098723Brian
MemberHi,
Sorry for the delay here we are backed up due to an illness and jury duty for a couple members on the support team.
I am not sure that is going to solve your issue. It might.
Can you please provide the link you are using for the iCal importer in a private reply and let me know if you are recurring hourly, daily or what your setting is.
Also, does it appear to be every event or just certain events?
Let me know and we can go from here.
Thanks
April 5, 2016 at 7:51 pm #1098751krosebraugh
ParticipantThis reply is private.
April 6, 2016 at 12:53 pm #1099094Brian
MemberHi,
Thanks for that link.
I am seeing an issue with the iCal importer reading those events in the admin so I believe there could be a bug here.
Did you just start having the problem?
Did you recently upgrade the plugins?
Let me know and we can go from here.
April 6, 2016 at 1:00 pm #1099103krosebraugh
ParticipantHard to say when it started because the client just recently noticed it. I have been keeping the plugin updated. I noticed that it has started doing it again. http://www.dellagoacademy.org/events/
If you look at todays events in the calendar linked above you will see 2 10th grade CST Tests. I think there are others later in the month.
April 7, 2016 at 5:14 am #1099473Brian
MemberOk so I did some testing and appears to be an issue with 4.1.1.
I would recommend downgrading to to 4.1 for the iCal Importer and stay on that version until there is a fix released.
You can download the older versions from your account here on theeventscalendar.com
And follow these steps for manual updates:
That process does not delete nor change settings or events, but it is always a good idea to backup just in case.
Let me know if that stops the duplicates.
April 7, 2016 at 8:46 am #1099577krosebraugh
ParticipantOk I installed 4.1 but it is still making duplicates. The issue seems to be with events marked as “all day” events also with reoccurring events that are marked as “all day”.
April 7, 2016 at 8:48 am #1099579krosebraugh
ParticipantOh no wait. I installed 4.1 of Events Calendar Pro not iCal importer.
April 7, 2016 at 9:28 am #1099607krosebraugh
ParticipantOk I reinstalled Events Calendar 4.1.1 then deleted iCal Importer 4.1.1 and installed iCal Importer 4.1 and I STILL have the duplicates again on the “all day” events. When and event is marked “all day” on a certain date it get’s imported as that date and the next day. So an all day event for April 7th would come in as an all day event for April 7th & 8th.
April 7, 2016 at 11:06 am #1099717Brian
MemberHow strange, I am not seeing that on my test site.
Did you delete the imported events that were wrong before trying to import again at 4.1?
If not please follow these steps before doing so, so you can reimport:
When you delete them make sure to add this snippet first to your theme’s functions.php or it will not re-import the events. Also please empty the trash too.
/*
* Prevents iCal importer from saving a copy of "deleted" events
* This means when you rerun an import, it will reimport any events you previously deleted
*/
function tribe_ical_dont_save_deleted () {
$ical_importer = Tribe__Events__Ical_Importer__Main::instance();
remove_action( 'before_delete_post', array( $ical_importer, 'deletedEventSave' ) );
}
add_action( 'wp_loaded', 'tribe_ical_dont_save_deleted' );Does that help any?
April 7, 2016 at 1:49 pm #1099831krosebraugh
ParticipantDo I delete just the events that were duplicated or do I delete all events? There are events in there from the beginning of the year. Do I delete all of those?
April 7, 2016 at 2:56 pm #1099851Brian
MemberAny past events should be fine only upcoming events need to be deleted.
April 7, 2016 at 2:57 pm #1099852krosebraugh
ParticipantWell never mind. I think it’s fixed. I’ll see how it does over the next few days and let you know. Thanks for your help.
Should I keep this ticket open for now or should I close it and open another one if I encounter any problems over the next week?
April 7, 2016 at 3:01 pm #1099853krosebraugh
ParticipantDo I tell the client not to perform the update to iCal 4.1.1?
-
AuthorPosts
- The topic ‘iCal importer creating duplicate events’ is closed to new replies.
