• Recently (I think starting with v3.17.5), editing recurring events has stopped working correctly. If I remove an instance of a recurring event, it pops up a notice saying that instance was removed, but when I update the post and go back to it, the deleted instance is back again.

    Further, if I change the recurrence pattern (for instance, if I change it from every week (1 weekly) to every other week (2 weekly), it saves fine. Then, when I go to remove a single instance and save the post, it sets the recurrence back to every week, and all of the dates are back again.

    I did just update to v3.17.6 to make sure that didn’t fix the issue, but it did not.

    It does seem to work if I just delete the instance of the event and don’t hit the “Update” button or make other changes to the event, though. It’s almost as though there’s some residual information associated with the post that overwrites data when the post itself is saved again.

    Thanks for all you do for the WordPress community, including your work on this plugin. It is truly appreciated.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    I made a change in 3.7.14 that fixed a bug where all-day event instances were regenerated when the event was updated, so this seems plausibly related.

    Does the same thing happen if you delete the instance, then fully leave the editor, come back, and then make an update? (That’s a question mostly to test whether there’s residual data not updated immediately after a save, or if it’s persistent.)

    Verifying when event instances need to be re-generated is one of the trickier areas, and it *is* possible there could be something residual, as that calculation is based on testing the difference between the stored event date/time data and the new event date/time data.

    Thread Starter Curtiss Grymala

    (@cgrymala)

    Thanks for the response.

    I just tested, and, yes, even if I edit the Event at a completely separate time (I deleted the instance yesterday, and came back today after your response to update the description of the event), it resets both the Repetition Pattern and the Scheduled Dates.

    I should also note that, when I open the Event in the editor, it shows an admin notice above the title field telling me that “Some dates in this event have been deleted. Changing the date or repetition pattern will reset its scheduled dates.”

    Plugin Author Joe Dolson

    (@joedolson)

    I haven’t been able to reproduce this yet, so I’ve got a couple follow up questions.

    1. Do you only see the notice saying “Some dates in this event have been deleted. Changing the date or repetition pattern will reset its scheduled dates.” on events where you have, indeed, deleted dates?
    2. When you edit an event, there are four hidden input types for the prevent event date/time: prev_event_begin, prev_event_time, prev_event_end, and prev_event_endtime. Do any of those values *not* match the values shown for the event date?
    Thread Starter Curtiss Grymala

    (@cgrymala)

    I just checked a recurring event where I haven’t deleted any recurrences, and it did not display the notice at the top. However, if I hit the “Update” button, it does reset to every 1 week, instead of every 2 weeks as it was before I hit Update.

    The prev_event_beginprev_event_timeprev_event_end, and prev_event_endtime inputs all seem to match when the first instance of the event starts and ends.

    The prev_event_recur field is set to W2 when I enter the event, but after I save it, it’s set to W1, instead.

    I am running WordPress 7.0 on WPEngine with a total of 21 active plugins (one of which is My Calendar Version 3.7.16). I am running it on the Genesis Block Theme.

    I’m setting up a staging copy of the site now so that I can test as much as possible how it responds with other plugins deactivated and default theme.

    Plugin Author Joe Dolson

    (@joedolson)

    Is this happening specifically with older events; events created several years ago? Does it happen if you edit the same event a second time?

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.