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

Commit daf6b34

Browse files
committed
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.
1 parent c987a36 commit daf6b34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tutorials/installing-configuring-doctrine-phpcr-odm.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ Basic configuration for each content repository is shown below; add the appropri
166166
workspace: default
167167
username: admin
168168
password: admin
169+
odm:
170+
auto_mapping: true
169171
170172
**Jackalope with Doctrine DBAL**
171173

0 commit comments

Comments
 (0)