Editing event end date → post event date on topic title not updated (since 3.6.0.beta2 update)

Tested on 3.6.0.beta2, as far as I recall, issue didn’t appear on beta1

Steps:

  1. Create new topic with event start date in the past and end date in the future (e.g. in 3 hours)
  2. Publish topic, post event date on topic title is displayed correctly
  3. Update event end date to a later or earlier time
  4. Issue occurs: post event date on topic title remains the same

I tried to refresh HTML as well, but issue persists

Edit: I encountered same issue when editing just the event start date, but could not reproduce it yet…

1 Like

How are you editing the event, via the UI of via markdown.

Do both behave differently?

As far as I recall, the issue appeared in both cases.

Sometimes the start date wasn’t updated, and sometimes the end date was affected. I didn’t have a chance to properly reproduce it as it’s really time-consuming and intricate.

I submitted a tiny PR which fixed it to some extent. We are using that as a helper plugin for now.

The current workaround is also:

  1. Edit post and remove the event BB code, save the post
  2. Edit the post, re-add the event BB code with the desired date, and save post

This re-writes the event dates from scratch into the topic.