[PHPCR-90] referrer delete and cascade delete Created: 19/Feb/13  Updated: 12/Mar/13  Resolved: 12/Mar/13

Status: Resolved
Project: Doctrine PHPCR
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: David Buchmann Assignee: Lukas Kahwe
Resolution: Fixed Votes: 0
Labels: None


 Description   

currently, removing an entry from the referrer collection has no effect, nothing is deleted.

without cascading, we should delete the value from the referencing property (needs the filter(mappedBy) attribute again), with cascading we should delete the referencing document.

see also https://github.com/doctrine/phpcr-odm/pull/234



 Comments   
Comment by David Buchmann [ 19/Feb/13 ]

adding something to the referrers collection is also not taken into account atm.

Comment by David Buchmann [ 12/Mar/13 ]

https://github.com/doctrine/phpcr-odm/pull/252

Generated at Thu Oct 30 12:21:44 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.