iCal importer creating duplicate events

Home Forums Calendar Products Events Calendar PRO iCal importer creating duplicate events

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #1097537
    krosebraugh
    Participant

    My 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.

    #1098119
    krosebraugh
    Participant

    Actually 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?

    #1098723
    Brian
    Member

    Hi,

    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

    #1098751
    krosebraugh
    Participant

    This reply is private.

    #1099094
    Brian
    Member

    Hi,

    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.

    #1099103
    krosebraugh
    Participant

    Hard 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.

    #1099473
    Brian
    Member

    Ok 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:

    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.

    #1099577
    krosebraugh
    Participant

    Ok 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”.

    #1099579
    krosebraugh
    Participant

    Oh no wait. I installed 4.1 of Events Calendar Pro not iCal importer.

    #1099607
    krosebraugh
    Participant

    Ok 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.

    #1099717
    Brian
    Member

    How 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?

    #1099831
    krosebraugh
    Participant

    Do 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?

    #1099851
    Brian
    Member

    Any past events should be fine only upcoming events need to be deleted.

    #1099852
    krosebraugh
    Participant

    Well 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?

    #1099853
    krosebraugh
    Participant

    Do I tell the client not to perform the update to iCal 4.1.1?

Viewing 15 posts - 1 through 15 (of 23 total)
  • The topic ‘iCal importer creating duplicate events’ is closed to new replies.