Table does not pull new entries or edits to pod unless clicking save changes #7
Labels
No Label
FAQ
bug
enhancement
needsInfo
notReproduced
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: glen/tablepress-pods#7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello thank you for the plugin! I have been using this to add a open tender table to my website and this has been great help.
One problem I'm facing is when I change something in the pod, the table does not show these changes automatically. I have to enter the table and click save changes each time there is something changed.
Thank you for your interest in tablepress-pods.
Hmm, let's get to the bottom of your situation. You have a table that is showing entries from a pod using this plugin, and when you change an existing entry in the pod, and then return to the page which was showing the table, and reload the page, the change does not show up in the display of the table, but if you go to the table entry in tablepress, and click save changes in the table (even though no entries of the actual tablepress table have changed per se), and then reload the page the table was on, you see the changes? Please confirm that's the situation, and I will see if I can reproduce on a test installation and/or we will debug this together and get it working for you.
Yes. Thats exactly how it is. Is this a bug or was it not included yet?
Thank you.
That definitely sounds like a bug. I will attempt to reproduce the problem on a new installation, but I have not before observed the behavior you describe. The intention is that changing a pod entry and reloading the corresponding page displaying the table would update the page; re-saving the tablepress table should be irrelevant.
I will let you know when I have a test case to show you; in the meantime, however much information you can share about the structure of the pod and/or the tablepress table you are using with the plugin, the more likely I will be able to reproduce the problem. If there is any information you're willing to share privately but not post here, you may email it to glen "at" studioinfinity "point" org. Thanks, and we will definitely get this working for you.
I have shared the debug info bellow and also installed the extensions "tablepress-datatables-buttons", "tablepress-datatables-sorting-plugins" and "tablepress-pods-0.3.0".
Here is the code in the page:
[table id=1 datatables_buttons="copy,excel,pdf,print" pod_name="procurement"/]
DEBUG INFO:
TablePress: 1.14
· TablePress (DB): 43
· TablePress table scheme: 3
· Plugin installed: 2021/08/09 19:40:15
· WordPress: 5.8
· Multisite: no
· PHP: 7.4.21
· mysqli Extension: true
· mySQL (Server): 5.5.5-10.4.20-MariaDB-1:10.4.20+maria~focal-log
· mySQL (Client): mysqlnd 7.4.21
· ZIP support: yes
· UTF-8 conversion: yes
· WP Memory Limit: 40M
· Server Memory Limit: 256M
· WP_DEBUG: false
· WP_POST_REVISIONS: true
@glen is there anyway I can help fix this?
@glen Hi. Were you able to reproduce the issue?
I found the issue. Turns out I had to add cache_table_output=false to the shortcode. Sorry for the trouble :)
Thank you so much! Although I could not manage to reproduce, I have put your suggestion into the the README. Very glad you got it working.