DDC-1108: Parameters name of a single letter don't work #1705

Closed
doctrinebot opened this Issue Apr 9, 2011 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user stof:

"SELECT c FROM MyBundle\AppBundle\Entity\Cities c WHERE c.nume LIKE :q" throws an Exception in Doctrine\ORM\Query\AST\InputParameter line 46 because strlen return 1.
I don't know the DQL parser deeply but it seems that the value passed to this class does not contain the colon. In this case the exception does not make sense here.

@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.5 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