Issue Bug Under Review Orphaned

#66447Annotation @cascade remove does not delete hidden child data

B. Kausch 04/16/15, 11:11 updated 03/11/25, 10:32

Description

You have a domain model (for example a blog entry) and this domain model has an object storage of other domain models (for example comments). Both models have no deleted flag and will be removed right away from the database. The object storage has the annotation @cascade remove. If you remove a blog entry, only comments, that are not hidden, will be removed too. Hidden comments will stay in the database as orphans. That can’t be right…

Reviews 1

History 15

  1. Benni Mack commented <span data-processor="relativetime" data-value="2021-12-23T11:34:11+00:00" > 12/23/21, 11:34 </span>

    Note for future-self:

    Check out Extbase -> Persistence -> Generic -> Backend -> persistObjectStorage()