[DDC-1654] OrphanRemoval does not work with One-To-Many, Unidirectional with Join Table Created: 16/Feb/12  Updated: 20/Feb/12  Resolved: 20/Feb/12

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: 2.2
Fix Version/s: 2.2.1
Security Level: All

Type: Bug Priority: Major
Reporter: Sascha-Oliver Prolic Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None


 Description   

OrphanRemoval is only allowed for one-to-one and one-to-many mappings. But using One-To-Many, Unidirectional with Join Table, the relation will be declared as Many-To-Many with a unique contraint, but the orphan removal flag doesn't work in this case (but should).



 Comments   
Comment by Benjamin Eberlei [ 20/Feb/12 ]

Fixed.

Comment by Benjamin Eberlei [ 20/Feb/12 ]

https://github.com/doctrine/doctrine2/commit/a32948b20fd3f67bd29e9dec5f637a46edfffff6

Generated at Tue Sep 02 17:41:50 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.