mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1064: Load fixtures with AbstractFixture (twice records) #1328
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Mar 8, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user garfield-fr:
I read this documentation to import my fixtures data on chapter "Sharing objects between fixtures" https://github.com/doctrine/data-fixtures.
After this import, i saw 2 records on table "Blog" and single record on table "BlogComment".
If i comment the first flush on BlogFixtures, i have only one record on table "Blog". The second flush on BlogCommentFixtures save another record on table "Blog".
my code: