I am facing a strain behaviour on the console of symfony2 . I have a local envinroment and if I execute:
php app/console doctrine:fixtures:load
purging database loading Application\Sonata\UserBundle\DataFixtures\ORM\LoadUserData loading ApplicationNewsBundle\DataFixtures\ORM\LoadAdvertisementData loading ApplicationNewsBundle\DataFixtures\ORM\LoadArticleData loading ApplicationNewsBundle\DataFixtures\ORM\LoadLiveBlogData loading ApplicationNewsBundle\DataFixtures\ORM\LoadVideoData
I upload the code to Heroku ( the same code) and I execute the same command but I only execute the two first fixtures:
purging database
loading Application\Sonata\UserBundle\DataFixtures\ORM\LoadUserData loading ApplicationNewsBundle\DataFixtures\ORM\LoadAdvertisementData
At this point, I suppose that is something related with the configuration, and I also executed the command on dev enviroment, but with the same result.
php app/console --env=dev doctrine:fixtures:load
I am using symfony 2.6.9.
The problem was related to the path, the name of the folder is DataFIxtures with I in capital letter, it seems that is not a problem working with vagrant in local but when I use heroku container doesn't understand this path and it doesn't execute the command. Changing the name the issue is solved.