Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.0-BETA3
-
Fix Version/s: 2.0-RC1
-
Component/s: None
-
Security Level: All
-
Labels:None
Description
Will not work correctly:
select c, ca from Cart ca join ca.customer c
Works correctly:
select ca, c from Cart ca join ca.customer c
In the first case the ordering of the DQL aliases causes associations to be skipped during hydration.
I think that this patch breaks modifying the select clause in custom tree walkers because walking the select clause will be done after the $_identVariableExpressions array is populated. Reordering the identification variables will then override the modified select clause.