-
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
non-existent service "cmf_create.rdf_type_factory" #83
Comments
i quickly grepped through the bundle: the service is defined in the phpcr persistence configuration. if you want to use create with phpcr, you need to configure persistence.phpcr.enabled: true . if you want something else, you will have to dig into createphp and the bundle a bit to add your own type factory implementation as this thing depends on the storage layer. afaik there are some doctrine base classes but only phpcr concrete classes. a pull request to support orm would be very welcome - you will need some creative handling for the unique id however, as the backend must be able to load a content class (document/entity) just from that id, there is no separate table name as usually needed for doctrine orm. you would need some special id that helps you find the right table... |
Arf...Thanks |
please share when you have code for persisting non-phpcr documents. for the bundle, you should be able to use it without phpcr, you just need to define this service in your application so that it exists. |
I've just installed
"symfony-cmf/create-bundle": "*@dev"
without all symfony-cmf stuff but when I try to configure it using http://symfony.com/doc/master/cmf/bundles/create.htmlI've got this error:
I did not find infos about this service in the doc.
The text was updated successfully, but these errors were encountered: