proudcity / wp-proudcity

The ProudCity WordPress platform
https://proudcity.com
Other
21 stars 9 forks source link

Editing existing event changes status to draft #2555

Open kevindherman opened 1 month ago

kevindherman commented 1 month ago

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):

Smartphone (please complete the following information):

Additional context

I thought it could be related to https://github.com/proudcity/wp-proudcity/issues/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:

*

curtismchale commented 1 month ago

@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.

https://github.com/proudcity/wp-proudcity/assets/74561/14cdd18e-64a3-45d6-9329-83b2a307fb8f

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

kevindherman commented 1 month ago

@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.

curtismchale commented 1 month ago

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