data-fixtures icon indicating copy to clipboard operation
data-fixtures copied to clipboard

Doctrine2 ORM Data Fixtures Extensions

Results 53 data-fixtures issues
Sort by recently updated
recently updated
newest added

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...

Needs work

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...

Needs tests

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...

Improvement
Needs work
Needs tests

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.

Needs tests

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...

Bug
Needs work

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...

Improvement
Needs work

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...