[TYPO3-mvc] Repository does not remove
Dennis Ahrens
dennis.ahrens at googlemail.com
Mon Apr 2 18:42:22 CEST 2012
Hi Chris,
On 02.04.2012 18:06, Christian Peters wrote:
> 1. *@cascade remove* only removes children that are *not* referenced /
> connected to other children
> 2. *@cascade remove *does not remove children of children if they did
> not annotate with *@cascade remove *themself?
Post
|-Comments (with @cascade remove)
$postRepo->remove($post);
All comments associated with the post will be removed - AFAIK other
references of the comments will not be respected in this case [1].
regards
Dennis
[1]
http://git.typo3.org/TYPO3v4/CoreProjects/MVC/extbase.git?a=blob;f=Classes/Persistence/Backend.php;h=2e581c9af1f60da19991ac074a4ee00523c1e29f;hb=HEAD#l832
More information about the TYPO3-project-typo3v4mvc
mailing list