Skip to content


DDC-3155: orm:convert-mapping drops underscores from Doctrine type names specified in DB comments #3934

doctrinebot opened this Issue · 0 comments

2 participants


Jira issue originally created by user jflatnes:

If you run orm:convert-mapping on a schema with comments like (DC2Type:json*array), the type name does get picked up, but the underscore is removed, so the type that ends up in the generated mapping's @Column annotation is jsonarray, not json*array.

The underscore being removed also seems to be affecting the EntityGenerator's attempt to map to correct PHP types for the @var annotation: that's showing up as just @var jsonarray even though the EntityGenerator should be mapping that to array. So it looks like the underscore is probably getting dropped at an earlier stage.

@beberlei beberlei was assigned by doctrinebot
@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.