DoctrineDataFixtureModule
DoctrineDataFixtureModule copied to clipboard
Update Module.php
I tried to use your module with zf 2.3.2dev and when I execute the import command the module delete all my data but, doesn't create anything, that because the command: $paths = $sm->get('doctrine.configuration.fixtures'); in Module.php doesn't work. Just change it with: $config = $sm->get('Config'); $paths = $config['doctrine']['configuration']['fixtures']; and please change the documentation for the reference of fixture paths.
Coverage decreased (-0.08%) when pulling a5b3a4ecb55bef6a17288ee70837fc949b59ab88 on elia-c:patch-1 into 01329733186c05cab15ff52d9a5be38412519ffb on Hounddog:master.
What does "doesn't work" mean here? Are you getting an exception? What is the return value?
@elia-c I'd rather say that we should find out why the service is an empty array. It should rather be filled. We provided a dedicated service especially to prevent manual traversal of the configuration nodes.
Follow step by step de README, I have the problem with namespace doctrine[fixture], I found de solution on stack overflow http://stackoverflow.com/questions/18022089/zend-framework-2-doctrine2-doctrinedatafixturemodule-no-loading-fixtures?answertab=votes#tab-top.
This guy said to use 'doctrine-fixture' root namespace instead of doctrine[fixture] how REAMD said.
Please, update de README and thanks by write this module, easy my life.