Closed lhberg closed 3 years ago
Can validate that behavior 5.6.1 with Classic Editor; not seeing this with the Block Editor.
confirmed.
I have the same problem.
I have a CPT containing:
I have another CPT containing only 1 bidirectional relationship field. In this CPT, when I click on Save Draft, I get the same alert. If I click Cancel, the "wheel" keeps turning forever. I have to leave the page and start over.
I don't use the editor (block or classic) in either of these CPT.
@mpbrunelle You have to be using either Classic Editor or Block Editor on the back-end of WordPress on the editing screen for the post. Those are the only two areas where you'd be able to edit the Pods fields on the back-end which is what this issue is in relation to. If you're using a Page Builder, we don't control those screens.
@mpbrunelle In addition, this is specifically an issue where Chrome or Browser is assuming an 'edit' when there is no edit, ie just opening the post edit screen and making no changes. Save Draft/Cancel should have nothing to do with this.
@jimtrue Thank you for your answer. I am not using a page builder. I enter data directly in each custom post. If the problem is not related to this bug report, there is still something going wrong on 'save'. I have managed to make it work by first publishing the custom post and then adding items to the relationship fields. So I guess that something was wrong when I was saving the draft. Do you know where the problem could be?
@mpbrunelle you're welcome to open another bug report, but your issue doesn't sound like this one. You may have other configuration settings with your relationship (ie required fields) that might be causing that issue.
@jimtrue Thank you. I'll keep testing and open another bug report if necessary. Have a nice day.
That's a wordpress Core issue - https://core.trac.wordpress.org/ticket/52440 - affects Pages, CPT and more…
Despite WP says they fixed the bug with 5.6.2 I still see it.
Hi @lhberg Please check if the problem is resolved when Pods is deactivated.
Hi Jory,
Thanks for your message.
I think that the issue was due to an incompatibility with another plugin. I installed some updates and now it’s gone.
Best,
Lukas
Am 25.02.2021 um 14:58 schrieb Jory Hogeveen notifications@github.com:
Hi @lhberg https://github.com/lhberg Please check if the problem is resolved when Pods is deactivated.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pods-framework/pods/issues/5933#issuecomment-785914036, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMOCXA52MV7D7PTX3DOS6TLTAZJPJANCNFSM4XJBO7TA.
Issue Overview
After the Wordpress 5.6.1 update when editing a Pods CPT, updating it an then leaving the page, the unsaved content alert pops up. Same when not editing anything, just open the post and closing it again. Btw. same with CPT UI.
Expected Behavior
The alert should only pop up when there is unsaved content at all.
Current Behavior
See issue overview
Steps to Reproduce (for bugs)
Possible Solution
WordPress Environment
Pods Package Export (helpful!)
Workaround or Alternate Solution Until Bug is Addressed
Related Issues and/or PRs