Bug #79958
openCascade remove not working when using lazy loading
0%
Description
In case someone uses lazyloading in combination with cascade remove this will not working (lazy references sub-tables are not handled).
The following situation:
table A
id
b = 1:N reference to B with lazy loading and cascade remove
table B
id
When deleting an entry of table A by loading entry of table A and simply call repository->remove(<object A>), this is not working (tested at 7.16.11).
Updated by Kurt Gusbeth over 5 years ago
I can confirm this with TYPO3 8.7.24 too.
When I delete something in the Recycler, no cascade is done.
Therefore I will remove the @lazy in my extension...
Updated by Felix Nagel about 5 years ago
I'm using TYPO 8.7.27 with a parent referencing children using type inline. Cascade remove works as expected with lazy annotation.
I would suggest you two should post your exact TCA and model configuration.