DCOM-179: Underscore at the end of a label is not working with annotations #481

doctrinebot opened this Issue Mar 3, 2013 · 3 comments

2 participants


Jira issue originally created by user exoon:

use Zend\Form\Annotation;



* @Annotation\Options({"label":Namespace\Entity::LABEL})


* @Annotation\Options({"label":Namespace\Entity::_LABEL})


* @Annotation\Options({"label":Namespace\Entity::LA_BEL})

works not:

* @Annotation\Options({"label":Namespace\Entity::LABEL_})

Error message:


[Semantical Error] Couldn't find constant Namespace\Entity\::LABEL, property ...

The _ at the end is missing.


Comment created by @ocramius:

Provided a hotfix at doctrine/annotations#19


Comment created by @guilhermeblanco:

Implemented: doctrine/annotations@0500074


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.3 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment