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

Commit

Permalink
ODM automapping missing
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zuhair-naqvi committed Nov 22, 2012
1 parent c987a36 commit daf6b34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tutorials/installing-configuring-doctrine-phpcr-odm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand Down

0 comments on commit daf6b34

Please sign in to comment.