Skip to content


DDC-778: Query Clone Removes DQL #5292

doctrinebot opened this Issue · 2 comments

2 participants


Jira issue originally created by user mitmaro:

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.


Comment created by @beberlei:



Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.0-BETA4 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.