When going to /post-create
the post and category are getting created correctly with the associated category id.
After the creation, going to /post
returns me the following error:
Doctrine\Common\Proxy\AbstractProxyFactory::getProxyDefinition(): Failed opening required '/var/tmp/__CG__ModulesBlogEntitiesCategory.php' (include_path='/Users/nicolaswidart/Sites/Testing/DoctrineInLaravel/vendor/phpseclib/phpseclib/phpseclib:.:/Applications/MAMP/bin/php/php5.6.2/lib/php')
Any suggestions ? :)
Thanks!
After some research, apparently proxies need to be generated. Found that strange since, Cribb doesn't have the config set for proxies, while still having relations and all tests are green.
I had to add a proxy path the in doctrine package configuration. Which troubles me since, that's a fixed path for all 'Modules'
For this test my directory structure looks like the following: https://cloudup.com/cEdvAMc3aP0
Don't know if I missed something that can be done to have the proxies in the correct folder (ideally the
Modules/Blog/Proxies
folder I presume)