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

Fix #92 #94

Merged
merged 10 commits into from
Mar 2, 2018
Merged

Fix #92 #94

merged 10 commits into from
Mar 2, 2018

Conversation

taylordaughtry
Copy link

This fixes an issue where the ContentModel of an entry was being used to pull data for validation. Since Simple Map uses a separate table for its storage, the field will always be null, and of course you can't check the keys of a null value, so PHP has a meltdown.

This commit updates the service method so Craft fetches the field data via relation, and simple provides it in the same format the existing code expects it in. (An array of field data.)

@Tam Tam changed the base branch from v2 to v2-dev March 2, 2018 15:31
@Tam Tam merged commit b2b57b8 into ethercreative:v2-dev Mar 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants