pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.07k stars 264 forks source link

Pods Rest API sometimes not delivering #7302

Open digitaltim-de opened 4 months ago

digitaltim-de commented 4 months ago

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 commented 4 months ago

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