Recurrence Start Dates Returning Incorrect Results

Home Forums Calendar Products Events Calendar PRO Recurrence Start Dates Returning Incorrect Results

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1167628
    Matthew
    Participant

    I had a situation where tribe_get_recurrence_start_dates was returning an old start date after updating the date of the first occurrence.

    After some digging I found that the query used for the function doesn’t check post types and so was returning data from old revisions.

    Events Calendar doesn’t offer revisions out of the box, and I haven’t added anything to enable revisions, but I did find the problem revisions in the database and deleting them solved my problem.

    A simple AND p.post_type='tribe_events' @ L852 of /src/Tribe/Recurrence/Meta.php fixes the problem and prevents it from returning the dates of old events.

    #1167957
    Nico
    Member

    Howdy Matthew,

    Welcome to our support forums! Thanks for reaching out to us and for actually including a solution for the reported issue 🙂

    This is actually an known bug reported recently by another customer, the solution proposed by one of our devs is actually the same you mention. Bugfixes are included in maintenance releases (take a look at our release schedule) and as we are about to ship next major version 4.3 it’s likely there won’t be a MR before that for PRO. This means that although the fix is super simple it might have to wait until 4.3.1.

    Anyway I linked this thread with the bug report so you’ll get a heads-up when this is released.

    Thanks once again for the suggested solution,
    Have a great weekend,
    Nico

    #1188723
    Nico
    Member

    Hey Matthew,

    Just wanted to let you know that this issue was fixed in maintenance release 4.3.1. This went out two weeks ago aprox, sorry for the delay in the heads-up!

    Please let me know if updating makes this right,
    Best,
    Nico

    #1199130
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Recurrence Start Dates Returning Incorrect Results’ is closed to new replies.