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(FrontendFields): Fix calling getCMSFields on for frontend fields. #33

Merged
merged 1 commit into from Jun 18, 2016

Conversation

silbinarywolf
Copy link
Contributor

  • Calling getCMSFields on the frontend should not attempt to write a 'ElementArea'/'Page' if the page doesn't exist.
  • Setup UnsavedRelationList for cases where ElementArea()->Elements() is empty. (ie. frontend fields / empty data object)

- Calling getCMSFields on the frontend should not attempt to write a 'ElementArea'/'Page' if it doesn't already exist.
- Setup UnsavedRelationList for cases where ElementArea()->Elements() is empty. (ie. frontend fields / empty data object)
@wilr wilr merged commit a43b11d into silverstripe:master Jun 18, 2016
@wilr
Copy link
Member

wilr commented Jun 18, 2016

Thanks :) Your project using frontend editing? Might be worth adding unit tests in the future for your use case to ensure any future changes don't break this.

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.

None yet

2 participants