proudcity / wp-proudcity

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

Gravity Forms Entry export fails on sites with multiple replicas #2454

Closed curtismchale closed 4 months ago

curtismchale commented 6 months ago

Build

Source

Describe the bug

When we add more than 1 replica to a site the gravity forms entry export fails.

To reproduce

Steps to reproduce the behavior:

  1. Go to https://www.santa-ana.org/wp-admin/admin.php?page=gf_export
  2. Click on any form export
  3. export form
  4. see that no file downloads

Expected behavior

The number of replicas should not affect the ability of GF to export form entries.

See GF docs on testing export functions. They say it uses an AJAX query, so are AJAX queries in general broken when we have 2 replicas?

QA

Notes:

Links:

*

kevindherman commented 5 months ago

@curtismchale this support ticket needs access to their imports. Can you help them out if the platform fix isn't ready?

curtismchale commented 5 months ago

Based on my research yesterday (research notes linked above), the file is created as expected. I added 2 replicas to beta and then created an export, which was blank. I made note of the filename that showed up in error dialogues and then when I reduced to 1 replica I found the file exactly where it was expected to be.

I wonder if it's getting created on the 2nd pod that I'm not currently using instead of the pod I'm actively using.

curtismchale commented 5 months ago

Submitted an issue for this: https://github.com/udx/wp-stateless/issues/717 Submitted a question to Gravity Form: https://community.gravityforms.com/t/entry-exports-download-empty/16868

curtismchale commented 4 months ago

Deployed

Composer: https://github.com/proudcity/wp-proudcity/releases/tag/2024.02.21.0957 Build: https://github.com/proudcity/proud-recipes/releases/tag/2024.02.21.0957