symfony-cmf/symfony-cmf-docs — pull request #44 by zuhair-naqvi (2012-11-22 04:48:41+00:00)
Title: 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:

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.