Skip to content


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

doctrinebot opened this Issue · 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
@doctrinebot doctrinebot added this to the 2.3 milestone
@doctrinebot doctrinebot closed this
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.