data-fixtures
data-fixtures copied to clipboard
Doctrine2 ORM Data Fixtures Extensions
This demonstrates that undefined index notice gets somehow suppressed during standalone tests. That notice stops execution when running doctrine:fixtures:load which is a problem. Sorry about the whitespace formatting, relevant change...
Why? 1. It's required to avoid error `spl_object_hash() expects parameter 1 to be object, null given` while running functional tests 2. This problem occurs when some of loaded entities are...
Currently, calling `unserialize()` with some data previously returned from `serialize()` produces: ``` php Array to string conversion /vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:2913 ``` This is caused by `serialize()` incorrectly serializing entities with primary keys...
The $simpleReferences don't containt the array with the IDs in some cases but they are in the identities. Then we can use the identities to fill the $simpleReferences.
Could not start test from working test code, see https://github.com/doctrine/data-fixtures/issues/142 Why is this useful? Consider model relations: `A OneToMany B OneToMany C` (a tree) When creating the entities for `B`,...
When mixing ordered and dependent fixtures, if a dependent fixture references an ordered fixture in getDependencies it triggers an error during loading. This is because the ordered fixtures are not...
When loading fixtures with purge mode truncate (`--purge-with-truncate` in the bundle's command) on MySQL >= 5.5, an error is thrown: ``` mysql SQLSTATE[42000]: Syntax error or access violation: 1701 Cannot...
When adding the `excluded` option to the Symfony command in https://github.com/doctrine/DoctrineFixturesBundle/pull/289, a couple of questions came up with respect to how this is supposed to handle duplicate key constraints in...
Hello, inside Loader (Doctrine\Common\DataFixtures). You guys have a method called addFixture, which checks if the current fixture, is dependent on another fixture. If true the fixture will be recreated by...