Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Error when lauch the doctrine:generate:entities #47

kelu95 opened this Issue · 1 comment

2 participants


There is an error whith custom translation entity when i launch doctrine:generate:entities


No identifier/primary key specified for Entity 'Allblacks\MyBundle\Entity\MyTranslationEntity'. Every Entity must have an identifier/primary key.


As explained many times in previous issues here, this is a bug in the Doctrine EntityGenerator which does not handle inheritance properly. Nothing that can be solved in the bundle. If you want to use the generator tool, disable the mapping for the bundle (as explained in the doc) when running the command and enable it again after that.

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