doctrine / data-fixtures

Doctrine2 ORM Data Fixtures Extensions
http://www.doctrine-project.org
MIT License
2.76k stars 224 forks source link

Fix reference update #413

Closed VincentLanglet closed 1 year ago

VincentLanglet commented 1 year ago

Related to https://github.com/doctrine/data-fixtures/pull/409 (cc @greg0ire)

When the manager does not contains the reference of an object and need to update it, $this->references[$name] was updated but not $this->referencesByClass[$class][$name].

This PR fix this.

greg0ire commented 1 year ago

Thanks @VincentLanglet!