Skip to content

Loading…

DDC-1058: Documentation on orphan removal in XML Mapping is incorrect #1649

Closed
doctrinebot opened this Issue · 1 comment

3 participants

@doctrinebot

Jira issue originally created by user jfreed:

The XML Mapping documentation indicates that "orphan-removal" is an attribute on One-to-One or Many-to-One elements, but in DoctrineORM version 2.0 that does not work. It seems I have to make "orphan-removal" a child attribute of those elements to turn it on.

Just to be clear:

Documentation says to do this, but it does not work:
...

This does work:
true

@beberlei beberlei was assigned by doctrinebot
@zeroedin-bill
Doctrine member

Orphan removal is working properly afaik.

@beberlei beberlei was unassigned by zeroedin-bill
@zeroedin-bill zeroedin-bill self-assigned 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.