pods icon indicating copy to clipboard operation
pods copied to clipboard

Pods Rest API sometimes not delivering

Open digitaltim-de opened this issue 1 year ago • 1 comments

Description

Hier ist eine erweiterte und verbesserte Formulierung für deinen GitHub Issue, die die Versionsinformationen berücksichtigt:

Problem Description Occasionally, after making changes to fields within the Pods plugin (Version 3.2.1) for WordPress (Version 6.5.3), the REST API does not return the updated data but instead returns default or stale data. The issue resolves itself temporarily if I modify any field within Pods, save it, and then revert the change.

Steps to Reproduce Make changes to a specific field in Pods. Query the REST API to fetch the updated data. Observe that the API returns default or outdated data instead of the updated values. Expected Behavior The REST API should always return the latest data as per the changes made in the Pods fields.

Actual Behavior The REST API intermittently returns default or outdated data after changes are made in the Pods fields. Temporary resolution is achieved by making a dummy change in any field and reverting it.

Environment WordPress Version: 6.5.3 Pods Plugin Version: 3.2.1 Additional Context No specific caching plugins are currently active on the site. Issue occurs randomly and is not tied to specific fields or types of changes.

Version

3.2.1

Testing Instructions

  1. Change something on pods
  2. Check your REST API
  3. If its not working
  4. Change something else (whatever you like)
  5. And it works again

Screenshots / Screencast

No response

Possible Workaround

No response

Site Health Information

No response

Pods Package

No response

digitaltim-de avatar May 12 '24 13:05 digitaltim-de

Again... no response from the api. You see, there is no data in first picture, after change somethingelse whatever you like in pod, it will work again.

And second picture after...

image

image

digitaltim-de avatar May 13 '24 13:05 digitaltim-de