Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

ODM automapping missing #44

Merged
merged 1 commit into from
Nov 23, 2012
Merged

Conversation

zuhair-naqvi
Copy link
Contributor

Create and list actions from dashboard were throwing: 
The class 'Symfony\Cmf\Bundle\RoutingExtraBundle\Document\Route' was not found in the chain configured namespaces Doctrine\ODM\PHPCR\Document

Comparing with cmf-sandbox config file, I noticed the config in this tutorial was missing:

    odm:
        auto_mapping: true

Adding this to doctrine_phpcr config fixes the issue.

PS only added this to jackrabbit config as I havent tried DBAL yet.

Create and list actions from dashboard were throwing: 
The class 'Symfony\Cmf\Bundle\RoutingExtraBundle\Document\Route' was not found in the chain configured namespaces Doctrine\ODM\PHPCR\Document

Comparing with cmf-sandbox config file, I noticed the config in this tutorial was missing:

    odm:
        auto_mapping: true

Adding this to doctrine_phpcr config fixes the issue.

PS only added this to jackrabbit config as I havent tried DBAL yet.
@lsmith77
Copy link
Member

this kind of stuff works the same regardless of which implementation is used.

@lsmith77
Copy link
Member

so could you add this to the other examples too?

lsmith77 added a commit that referenced this pull request Nov 23, 2012
@lsmith77 lsmith77 merged commit 6fedff8 into symfony-cmf:master Nov 23, 2012
@dbu
Copy link
Member

dbu commented Nov 23, 2012

@lsmith77 do you add it to the other sections

@lsmith77
Copy link
Member

yes e3276c8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants