DDC-778: Query Clone Removes DQL #5292

Closed
doctrinebot opened this Issue Aug 30, 2010 · 2 comments

2 participants

@doctrinebot

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.

@doctrinebot

Comment created by @beberlei:

Fixed!

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.0-BETA4 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment