-
Notifications
You must be signed in to change notification settings - Fork 31
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
configuration problem when using CreateBundle alone #130
Comments
sorry for the late reply, i seem to have missed the issue you created here. the configuration you provided is the default configuration. no need to repeat that. if you are using the ORM, have a look at https://github.com/flack/createphp/blob/master/src/Midgard/CreatePHP/Mapper/DoctrineOrmMapper.php . if you use something else, there is no mapper yet, but looking at those should help to get you started writing it. if its a general thing, please do a PR on the createphp repository to add it.
we have had the plan to support doctrine orm conveniently in this bundle since a while ago. but there is one missing piece to properly do this, a dispatching mapper to use several mappers together. |
@fpiccinali did that help, did you get things working? |
@dbu thanks for your help. |
oh, a pitty. if you are still interested, keep an eye on #135 - the next version of this bundle should have ORM support built-in. |
I am trying to use CreateBundle only.
I want to edit entity persisted with doctrine.
I have a fresh new project with 2.6.x and i have added deps for "symfony-cmf/create-bundle": "*"
Then i follow the documentation here http://symfony.com/doc/master/cmf/bundles/create/introduction.html#installation Version 1.2
Here is my config.yml
When i do
app/console
If i comment model_class line, the answer become :
If i enable phpcr, a deps error appear.
Where can i find a valid configuration for cmf_create ?
I can write a memo in the documentation if you need.
Or edit composer.json to include correct deps.
The text was updated successfully, but these errors were encountered: