Google calendar update existing record problem

Home Forums Calendar Products Event Aggregator Google calendar update existing record problem

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1029080
    Part
    Participant

    Hi,

    we have problem with a existing record. First we do recurring import from google calendar to WordPress, it totally fine. But when we made changes on google calendar it does not update to WordPress post.

    Thank you

    #1029765
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help troubleshoot this with you.

    Can you provide the ics link you are using to import events from?

    Also, what did you change in an event that did not update in WordPress?

    Let me know and we can go from here.

    Thanks

    #1031287
    Part
    Participant

    This reply is private.

    #1032093
    Brian
    Member

    Hi,

    Thanks for the link.

    I am testing this out on my test site with another Google Calendar ics link and see if I can reproduce the issue.

    I will let you know what I find out.

    Thanks

    #1032323
    Brian
    Member

    Hi,

    I have done testing in a couple sites and it appears to be a bug here.

    As a way around this you could add this snippet:

    /*
    * 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' );

    That will prevent events from being “saved” even after deleted so they will not import again.

    Once that snippet is in place you could delete the events that you want to update and that will then enable them to be reimported.

    That is not a great solution, but it is a work around.

    I have created a bug ticket for us to resolve this issue as well.

    Let me know if you have any follow up questions.

    Thanks

    #1032714
    Part
    Participant

    Thank for the workaround, but our client want to control all in google calendar, could you please keep us update for the ticket?

    Thank you

    #1032761
    Brian
    Member

    Hi,

    I can do that.

    I am going to close this ticket to new replies, but the issue is still open and we will update this ticket once we release a fix. It will not be part of 4.0 as that is about to launch, I am pushing to get it included in 4.0.1, which will be out shortly after that, but I do not know for sure.

    If you have any new questions or issues please create a new ticket and reference this one.

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Google calendar update existing record problem’ is closed to new replies.