Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-736

Nasty ordering issue with fetch-joins

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical 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.

      1. ddc736.patch
        4 kB
        Benjamin Eberlei
      2. ddc736-simplified.patch
        4 kB
        Roman S. Borschel
      3. DDC736Test.php
        1 kB
        Roman S. Borschel

        Issue Links

          Activity

            People

            • Assignee:
              Benjamin Eberlei
              Reporter:
              Roman S. Borschel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: