mirror of
https://github.com/doctrine/orm.git
synced 2026-04-29 17:33:15 +02:00
DDC-3272: EntityGenerator writes 'MappedSuperClass' instead of 'MappedSuperclass' #4048
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Aug 26, 2014).
Originally assigned to: @deeky666 on GitHub.
Jira issue originally created by user jakabadambalazs:
In file doctrine/orm/lib/Doctrine/ORM/Tools/EntityGenerator.php, method: generateEntityDocBlock at line: 826, we have
$lines[] = ' * @' . $this->annotationsPrefix . 'MappedSuperClass';but we do NOT have an annotation in
Doctrine\ORM\Mappingcalled'MappedSuperClass'but'MappedSuperclass. (Notice the lowercase "c"!).When using the generator, this generates the mapped superclass with wrong annotation resulting in {quote}AnnotationException ::semanticalError ('The annotation "@Doctrine\ORM\Mapping\MappedSuperClass" in class Jab\Bundle\PlatformBundle\Entity\JabEntity does not exist, or could not be auto-loaded.')
in /home/data/WWW/localServer/test.bradipo/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php at line 706{quote}
@doctrinebot commented on GitHub (Aug 26, 2014):
@doctrinebot commented on GitHub (Sep 10, 2014):
Comment created by @ocramius:
Marked as minor issue: the entity generator is not the primary focus of the project.
@doctrinebot commented on GitHub (Sep 10, 2014):
Comment created by @ocramius:
Provided a hotfix at https://github.com/doctrine/doctrine2/pull/1132
@doctrinebot commented on GitHub (Sep 10, 2014):
Comment created by @deeky666:
Fixed in commit: https://github.com/doctrine/doctrine2/commit/b249aa9f652efdd36992ea542ccbd8e82f1b75be
@doctrinebot commented on GitHub (Sep 10, 2014):
Issue was closed with resolution "Fixed"