Details

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

      Description

      The fix for DDC-770 made the \Doctrine\ORM\AbstractQuery call the free method when __cloned. This is fine with an abstract query but when you clone from a Doctrine\ORM\Query it calls the free method of that class which nulls out the DQL statement. This breaks the example given in the Doctrine ORM cookbook of writing a custom walker.

      This is either a bug in the documentation or a bug in Doctrine ORM.

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Fixed!

        Show
        Benjamin Eberlei added a comment - Fixed!

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Tim Oram
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: