This topic contains 7 replies, has 4 voices, and was last updated by Dima Soroka 7 years, 3 months ago.
- Topic
Hello,
I’m using two orm connection, the default one and another one called pim.From a controller, the following code works fine :
1$produits = $this->getDoctrine()->getRepository('CLPimBundle:Produit', 'pim')->findAll();But in the datagrid.yml, I got the following error :
1Unknown Entity namespace alias 'CLPimBundle'with the following configuration :
123456789101112131415datagrid:cl-pim-produit-datagrid:source:type: ormquery:select:- p.id- p.createdfrom:- { table: CLPimBundle:Produit, alias: p }columns:created:label: "date de création"Is there a way to specify the entity_manager name in datagrid.yml ?
Thank you.
The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.