Skip to content


DDC-2172: GENERATOR_TYPE_UUID missing in EntityGenerator.php #2864

doctrinebot opened this Issue · 2 comments

1 participant


Jira issue originally created by user paro22:

Hey guys!

In my model I used UUID as the generator strategy for my id:
It works for creating my UUID but when I add some changes to my model and run
orm:generate-entities --generate-annotations="true" models/
it throws the following exception:

Invalid provided IdGeneratorType: 6 "

Looking at the EntityGenerator.php I saw that the UUID type is not (yet?) in there. When I add it to the function getIdGeneratorTypeString() everything works fine...
I'm new to Doctrine so I'm not sure if this is actually a bug, but it seems weird to me ;-)


Comment created by @FabioBatSilva:

Fixed : 29f0b67


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.3.1 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
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.