Issue Bug Closed

#79958Cascade remove not working when using lazy loading

Robert Jelinek 02/22/17, 18:28 updated 09/07/26, 21:05

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).</object>

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 3

  1. Kurt Gusbeth commented <span data-processor="relativetime" data-value="2019-03-20T23:04:54+00:00" > 03/20/19, 23:04 </span>

    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…

  2. Felix Nagel commented <span data-processor="relativetime" data-value="2019-09-27T15:36:59+00:00" > 09/27/19, 15:36 </span>

    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.

  3. Georg Ringer commented and changed status New Closed <span data-processor="relativetime" data-value="2026-09-07T21:05:15+00:00" > 09/07/26, 21:05 </span>

    can’t be reproduced on main and question for the tca configuration never answered. therefore closing the issue.

    if it is still valid for at least v13, please open a new issue with your configuration