Skip to content


DDC-1618: Query::Iterate() with fetch join exception but no associaiton selected #2258

doctrinebot opened this Issue · 2 comments

2 participants


Jira issue originally created by user rande:

Iterate with fetch join in class Application\Sonata\NewsBundle\Entity\Post using association tags not allowed.

SELECT o FROM Application\Sonata\NewsBundle\Entity\Post o LEFT JOIN o.tags s*tags LEFT JOIN s_author WHERE ( = :field_4f1f118cf04ff_id_0 OR = :field_4f1f118cf04ff_id_1 OR = :field_4f1f118cf04ff_id*2 )

The SqlWalker.php (line 742) does not check if the association is selected ...

The PR : #271


Comment created by @beberlei:



Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.1.6 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.