-
Notifications
You must be signed in to change notification settings - Fork 91
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
Hyphens in managed_models
keys cause errors
#1219
Comments
One of the test added by the PR is failing the build on the kitchen sink.
|
Have merged PR - rerunning kitchen-sink If testMultiModelAdminOpensEachTab is resolved on build, then will close this issue Last red build pre merge with failure - https://travis-ci.com/github/silverstripe/cwp-recipe-kitchen-sink/builds/228312788 Build post merge that's expected to go green - https://travis-ci.com/github/silverstripe/cwp-recipe-kitchen-sink/builds/228395717 |
@maxime-rainville - re-run did not fix issue https://travis-ci.com/github/silverstripe/cwp-recipe-kitchen-sink/jobs/512232011 |
Third time is the charm #1228 |
According to the docs we should be able to have a
$managed_models
key like so:However, adding one always results in the error:
ModelAdmin::init(): Invalid Model class
I believe this is due to the
unsanitiseClassName()
call but I'm setting out to prove it shortly.Pull request
The text was updated successfully, but these errors were encountered: