Browse files

ODM automapping missing

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:

        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.
  • Loading branch information...
1 parent c987a36 commit daf6b3460e57eab9928e8d0b746ab6dd3f46ca11 @zuhair-naqvi zuhair-naqvi committed Nov 22, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 tutorials/installing-configuring-doctrine-phpcr-odm.rst
2 tutorials/installing-configuring-doctrine-phpcr-odm.rst
@@ -166,6 +166,8 @@ Basic configuration for each content repository is shown below; add the appropri
workspace: default
username: admin
password: admin
+ odm:
+ auto_mapping: true
**Jackalope with Doctrine DBAL**

0 comments on commit daf6b34

Please sign in to comment.