Skip to content
This repository

Nov 22, 2012

  1. zuhair-naqvi

    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.
    authored November 22, 2012
Something went wrong with that request. Please try again.