proudcity / wp-proudcity

The ProudCity WordPress platform

Home Page:https://proudcity.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Editing existing event changes status to draft

kevindherman opened this issue · comments

Source

https://cityofpetaluma.org/

Describe the bug

With the new events manager version, when you edit an existing event, it saves but the status changes to draft. You then need to publish the draft to publish the changes. Editing and then updating a published event should stay published.

To reproduce

Steps to reproduce the behavior:

  1. Create new event
  2. Edit event
  3. Publish
  4. Edit event
  5. Update
  6. Pages loads and "Update" button changes to "publish" because the previously published event becomes a draft with the edit.
  7. Can publish by then selecting publish

Expected behavior

If you edit a published event, it should remain published.

Screenshots

If applicable, add screenshots to help explain your problem.
Edit
Screen Shot 2024-05-22 at 4 08 45 PM
Update, turns status to draft
Screen Shot 2024-05-22 at 4 09 03 PM
Can publish

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

I thought it could be related to #2553 but I'm not getting the draft issue on https://presentation-ca.proudcity.com/event/test-event/ that also doesn't have the google maps api.

I also tested on another Cloudflare customer Rye Brook and that was fine.

QA

Notes:

Links:

@kevindherman I don't see how to make it do this. I've tested a clean WP install, beta and on Petaluma. You can see what I did in the video below.

Ecamm.Live.Recording.on.2024-05-23.at.10.25.42.mp4

I was logged in as an Admin, were you support or...?

@curtismchale thanks for the video. I was experiencing this yesterday but after watching your video, tried again as support@ on the live site and was fine too. I'll try again

Could it be a multiple pod thing?

I'll try again later to see if it happens again or not.

@kevindherman it shouldn't be a multiple pod thing.