Closed gavinwilliams closed 12 years ago
Never mind, found it. It should be clear somewhere in the documentation that if you create a new bundle, you need to add
doctrine:
orm:
entity_managers:
default:
mappings:
YourBundleName: ~
To your configuration file in order for SonataAdmin to make use of the getEntityManagerForClass method for multiple entity managers.
I'm trying to create a new admin section in Sonata admin. I have a model with XML mapping and am passing it to the admin service with the following XML.
When I attempt to view the page in SonataAdmin I get the following error.
I've cleared the cache and this happens in the dev environment.
Any help would be greatly appreciated.