EagerLoadingExtension does not check whether the query builder already defines exact join clause.
If another extension adds join before the EagerLoadingExtension it will result with duplicate join clauses.
|
$associationAlias = $queryNameGenerator->generateJoinAlias($association); |
|
$queryBuilder->{$method}(sprintf('%s.%s', $parentAlias, $association), $associationAlias); |
EagerLoadingExtension does not check whether the query builder already defines exact join clause.
If another extension adds join before the EagerLoadingExtension it will result with duplicate join clauses.
core/src/Bridge/Doctrine/Orm/Extension/EagerLoadingExtension.php
Lines 200 to 201 in ee7ef88