Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubleshooting entities which are not created #39

Closed
nmeirik opened this issue Nov 6, 2014 · 2 comments
Closed

Troubleshooting entities which are not created #39

nmeirik opened this issue Nov 6, 2014 · 2 comments

Comments

@nmeirik
Copy link

nmeirik commented Nov 6, 2014

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

@nmeirik
Copy link
Author

nmeirik commented Nov 8, 2014

This was due to a totally unrelated issue. My apologies for the disturbance.

@nmeirik nmeirik closed this as completed Nov 8, 2014
@h4cc
Copy link
Owner

h4cc commented Nov 8, 2014

Nevermind.

Hint for other users with maybe similair problems:
Check your configuration https://github.com/h4cc/AliceFixturesBundle#configuration and the do_dropand perstist settings in your FixtureSets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants