Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-3005

Events::postLoad fires without filled associations

    Details

      Description

      When we load entities throw one dql query like this:

      SELECT e, joined_link FROM Entity LEFT JOIN e.link joined_link
      

      In event subscriber, subscribed to postLoad event for instances of Entity property "link" of entity does not contains fetched in same query joined entity, and does not contains proxy object.

      Tell me if failing test case needed.

        Issue Links

          Activity

          Hide
          strate Artur Eshenbrener added a comment -
          Show
          strate Artur Eshenbrener added a comment - PR is ready: https://github.com/doctrine/doctrine2/pull/1001
          Hide
          doctrinebot Doctrine Bot added a comment -

          A related Github Pull-Request [GH-1001] was assigned:
          https://github.com/doctrine/doctrine2/pull/1001

          Show
          doctrinebot Doctrine Bot added a comment - A related Github Pull-Request [GH-1001] was assigned: https://github.com/doctrine/doctrine2/pull/1001
          Hide
          doctrinebot Doctrine Bot added a comment -

          A related Github Pull-Request [GH-1001] was unassigned:
          https://github.com/doctrine/doctrine2/pull/1001

          Show
          doctrinebot Doctrine Bot added a comment - A related Github Pull-Request [GH-1001] was unassigned: https://github.com/doctrine/doctrine2/pull/1001
          Hide
          doctrinebot Doctrine Bot added a comment -

          A related Github Pull-Request [GH-1001] was closed:
          https://github.com/doctrine/doctrine2/pull/1001

          Show
          doctrinebot Doctrine Bot added a comment - A related Github Pull-Request [GH-1001] was closed: https://github.com/doctrine/doctrine2/pull/1001
          Hide
          ocramius Marco Pivetta added a comment -

          Handled in DDC-3070

          Show
          ocramius Marco Pivetta added a comment - Handled in DDC-3070

            People

            • Assignee:
              ocramius Marco Pivetta
              Reporter:
              strate Artur Eshenbrener
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: