WhiteOctoberAdminBundle
WhiteOctoberAdminBundle copied to clipboard
How to display object with mapped relation in list using Doctrine ORM
Previously I have tried Sonata Admin Bundle, but I can't change how this bundle fetch data from one object. See my issue in
https://github.com/sonata-project/SonataAdminBundle/issues/365
Now I'm trying White October Admin Bundle, I think it's very flexible and I can implement row level ownership since I can modify how this admin page fetch an object.
Actually I got mapped entities in edit / update form. But I got this error in list pages.
An exception has been thrown during the rendering of a template
("Catchable Fatal Error: Object of class Doctrine\ORM\PersistentCollection
could not be converted to string in /..l/symfony/app/cache/dev/twig/e5/1d/509753a8d98a1daf9f3f90eb99d3.php line 391")
in "WhiteOctoberAdminBundle::default\/list.html.twig" at line 109.
Thanks for your help.
Regards.
same question here..