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

Open
doctrinebot opened this Issue Jun 5, 2014 · 0 comments

2 participants

@doctrinebot

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 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