Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDC-3272: EntityGenerator writes 'MappedSuperClass' instead of 'MappedSuperclass' #4062

Closed
doctrinebot opened this issue Aug 26, 2014 · 5 comments
Assignees
Labels
Milestone

Comments

@doctrinebot
Copy link

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\Mapping called '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
Copy link
Author

@doctrinebot
Copy link
Author

Comment created by @Ocramius:

Marked as minor issue: the entity generator is not the primary focus of the project.

@doctrinebot
Copy link
Author

Comment created by @Ocramius:

Provided a hotfix at #1132

@doctrinebot
Copy link
Author

Comment created by @deeky666:

Fixed in commit: b249aa9

@doctrinebot
Copy link
Author

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.5 milestone 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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants