Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[Doctrine2] Make debug message in haveInRepository support entities with composite keys of entities in bidirectional relations #5685
This change caused some issue with Doctrine UUID data type: https://stackoverflow.com/questions/58000583/doctrine-uuid-data-type-works-perfect-manually-but-fails-in-codeception?noredirect=1#comment102422929_58000583
…ebug message. (#5692) * #5685: support non-entity doctrine @id, e.g. Ramsey\Uuid\Uuid on the haveInRepository debug message. * missing line indention. * check for uuid type first * catch correct MappingException. * Revert "catch correct MappingException." This reverts commit d3d4daf * catch both of doctrines MappingExceptions, since they don't share a common base exception. Catching \Exception here would be too vague.