Table does not pull new entries or edits to pod unless clicking save changes #7

Closed
opened 2021-08-09 13:30:32 +00:00 by ezolboo · 8 comments

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.

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.
glen added the
needsInfo
label 2021-08-09 16:24:55 +00:00
Owner

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.

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.
Author

Yes. Thats exactly how it is. Is this a bug or was it not included yet?
Thank you.

Yes. Thats exactly how it is. Is this a bug or was it not included yet? Thank you.
Owner

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.

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.
Author

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

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
Author

@glen is there anyway I can help fix this?

@glen is there anyway I can help fix this?
Author

@glen Hi. Were you able to reproduce the issue?

@glen Hi. Were you able to reproduce the issue?
Author

I found the issue. Turns out I had to add cache_table_output=false to the shortcode. Sorry for the trouble :)

I found the issue. Turns out I had to add cache_table_output=false to the shortcode. Sorry for the trouble :)
Owner

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.

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.
glen closed this issue 2021-08-20 21:56:53 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: glen/tablepress-pods#7
No description provided.