Closed nmeirik closed 10 years ago
This was due to a totally unrelated issue. My apologies for the disturbance.
Nevermind.
Hint for other users with maybe similair problems:
Check your configuration https://github.com/h4cc/AliceFixturesBundle#configuration and the do_drop
and perstist
settings in your FixtureSets.
How can I go about troubleshooting entities which are not created. I've created a very simple fixture.yml and am using the h4cc_alice_fixtures:load:files command example to load it. The app/logs/dev.log show all the tables and index being recreated, and at the last two lines, there is a START TRANSACTION, and then an INSERT for the entity in the file. However, no rows are persisted to the database. I'm lost as to how to debug this.
The exact command I'm running is:
php app/console h4cc_alice_fixtures:load:files --manager=default --type=yaml --seed=42 --locale=de_DE --drop src/NM/Bundle/MyBundle/DataFixtures/Alice/Clients.yml
...and the fixture file simple contains:
NM\Bundle\MyBundle\Entity\Client: client0: name: Fixturetest