Error when adding "name" and "permalink" as fields to an Advanced Content Type -- Implement dbDelta() in PodsAPI #6815
coding-panda
started this conversation in
Ideas
Replies: 1 comment
-
I think the solution here is to switch from individual alter statements and use dbDelta() going forward as it's more resilient for issues like these. I'm going to move this to the next release but noting the path to fixing as follows:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
When adding adding "name" as a field to an Advanced Content Type, it displays a SQL error, but after saving and refreshing the page, it will appear. Same problem to "permalink"
Version
2.8.5
Testing Instructions
Screenshots / Screencast
Possible Workaround
Leave "name" and "permalink" as default fields like pods 2.7, or remove the errors and so they can just be added.
Site Health Information
Pods Package
Beta Was this translation helpful? Give feedback.
All reactions