DDC-1368: incorrect mapping not detected by orm:validate-schema #1987

doctrinebot opened this Issue Sep 8, 2011 · 2 comments

2 participants


Jira issue originally created by user tom:

The following incorrect mapping was not detected by orm:validate-schema, instead running it resulted in:

$ doctrine orm:validate-schema
[Mapping] OK - The mapping files are correct.



and the inverse side:

obviously, the inverse side should be many-to-one and not one-to-one. Interesting bugs in the code resulted. Obviously a coder mistake, but orm:validate-schema should have detected that the association has incompatible mappings.


Comment created by @beberlei:



Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.2 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this 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