Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2578

[GH-738] Modified Hydrators to be per-query instances instead of a singleton-like approach

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of guilhermeblanco:

      Url: https://github.com/doctrine/doctrine2/pull/738

      Message:

      This fixes an old issue we have where we have a Query that triggers an entity-specific postLoad event which attempts to do another Query.
      In this situation, developer will face an "Attempt to call method on a null object" error on PHP.

        Activity

        Hide
        Doctrine Bot added a comment -

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

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-738] was closed: https://github.com/doctrine/doctrine2/pull/738
        Show
        Fabio B. Silva added a comment - Merged : https://github.com/doctrine/doctrine2/commit/8d13601e39d0fdefdd1d2c0a85704c440b8bdd37
        Hide
        Benjamin Eberlei added a comment -

        Merged into 2.4 branch

        Show
        Benjamin Eberlei added a comment - Merged into 2.4 branch
        Hide
        Doctrine Bot added a comment -

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

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

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

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-738] was closed: https://github.com/doctrine/dbal/pull/738

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: