Skip to content
This repository
Browse code

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...
commit daf6b3460e57eab9928e8d0b746ab6dd3f46ca11 1 parent c987a36
zuhair-naqvi zuhair-naqvi authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  tutorials/installing-configuring-doctrine-phpcr-odm.rst
2  tutorials/installing-configuring-doctrine-phpcr-odm.rst
Source Rendered
@@ -166,6 +166,8 @@ Basic configuration for each content repository is shown below; add the appropri
166 166 workspace: default
167 167 username: admin
168 168 password: admin
  169 + odm:
  170 + auto_mapping: true
169 171
170 172 **Jackalope with Doctrine DBAL**
171 173

0 comments on commit daf6b34

Please sign in to comment.
Something went wrong with that request. Please try again.