pabsttheater / pabstetix

Issue Tracking for pabsttheater.org
0 stars 0 forks source link

On Sale information not displaying #49

Closed sarandi closed 5 years ago

sarandi commented 5 years ago

I created this event earlier this week: https://pabsttheater.org/event/destinationmilwaukee2019/

I noticed that the On-Sale Info Section Tab was visible, but it wasn't displaying its content.

So I confirmed that it was present in the admin event form, which it was.

I tried a few things to get this to work, including:

  1. removing the on sale date
  2. changing the on sale date
  3. altering the published state.

None of which worked - the On Sale tab was always present, but the server never rendered the label/date to html (I checked View > Developer Tools > View Source, not relying on devtools DOM elements)

Finally, after another staff member noticed the missing info, I tried using jQuery to inject html into that tab section's content field, which broke the site as shown below:

image

image

This was site-wide. Any pages that were checked rendered some version of the above.

I believe this was directly related to the On Sale tab not rendering properly, but also possibly compounded by a malformed database result in which single/double-quotes had not been escaped within the info section JSON string.

We had to use WPEngine autorestore to roll back events to this morning's backup.

sarandi commented 5 years ago

Daniel informed us that this was caused by duplicate input checkboxes not reflecting the same state. I will document that response here and also hash out how we would like to proceed.