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

BUGFIX: Stop attempting to filter an UnsavedRelationList #20

Merged
merged 1 commit into from May 5, 2015

Conversation

Cheddam
Copy link
Member

@Cheddam Cheddam commented May 4, 2015

I have come across an issue on a site where a UserDefinedForm was removed from the Draft site, and ceased to be accessible within the CMS (raising an error 'Uncaught LogicException: filter can't be called on an UnsavedRelationList'), with SpamProtection at the top of the call stack. I worked with Michael Strong to produce a simple solution to the issue.

Unfortunately I have been unable to reproduce the issue on a fresh copy of Silverstripe, but this should help avoid issues in edge-case sites.

wilr added a commit that referenced this pull request May 5, 2015
FIX: Stop attempting to filter an UnsavedRelationList
@wilr wilr merged commit 9c649f0 into silverstripe:master May 5, 2015
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