Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced Relationships and Table Storage #3216

Open
pcfreak30 opened this issue Oct 26, 2015 · 4 comments
Open

Advanced Relationships and Table Storage #3216

pcfreak30 opened this issue Oct 26, 2015 · 4 comments
Labels
Status: Help Wanted We have not prioritized this yet, but you can help make it happen to speed it up Status: Need Research Type: Bug
Milestone

Comments

@pcfreak30
Copy link
Contributor

See https://gist.github.com/pcfreak30/35b68225e701788f3838 and https://gist.github.com/pcfreak30/f8e5640564523ce4110d

Steps taken:

  • Import without enabling Advanced Relationships
  • Enable Advanced Relationships
  • Running code to add an item. Get a SQL error for item_type
  • Delete pod
  • Enable Advanced Relationships
  • Running code to add an item. Get a SQL error for item_type
  • Delete pod
  • Add pod manually (build).
  • Item creation works

Using table storage, some meta is not getting added correctly.

@Ramoonus
Copy link
Contributor

Ramoonus commented Nov 3, 2015

which version of WordPress and Pods are you running?

@Ramoonus
Copy link
Contributor

Ramoonus commented Nov 3, 2015

which SQL error are you running into?

@pcfreak30
Copy link
Contributor Author

The latest and its saying item_type doesn't exist as a column but it should be pulled as a relationship instead and its not.

@sc0ttkclark
Copy link
Member

Sounds like import isn't seeing the relationship as it should be (stored as a column, not pulled from wp_podsrel), which doesn't create the pod item correctly.

@sc0ttkclark sc0ttkclark added this to the Pods 2.5.6 milestone Nov 13, 2015
@pglewis pglewis modified the milestones: Pods Future Release, Pods 2.6 Dec 9, 2015
@sc0ttkclark sc0ttkclark added Status: Help Wanted We have not prioritized this yet, but you can help make it happen to speed it up and removed Status: Help Wanted We have not prioritized this yet, but you can help make it happen to speed it up labels Dec 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Help Wanted We have not prioritized this yet, but you can help make it happen to speed it up Status: Need Research Type: Bug
Projects
None yet
Development

No branches or pull requests

4 participants