Needs work
Project:
Paragraphs
Version:
8.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Feb 2025 at 15:49 UTC
Updated:
9 Jun 2026 at 10:09 UTC
Jump to comment: Most recent
Comments
Comment #2
arunsahijpal commentedWorking on it.
Comment #4
arunsahijpal commentedHi @marianrk,
I've added a hook_entity_update to delete the referenced paragraphs please check.
Also @berdir please check whether this should be the part of module behaviour or not.
Thanks,
Arun
Comment #5
divyansh.gupta commentedI was successfully able to reproduce the issue and the MR applied successfully and solved the issue where if we are deleting a row from content then it is also removed from view page,
The changes looks good to me, thus moving this to RTBC!!
Comment #6
danyg commentedThe query condition doesn't check the parent_id. If you have multiple node types with with many different paragraphs, you may face a big problem on a single node update. Add parent_id check to the code:
Comment #7
danyg commentedComment #8
danyg commentedSorry, my bad, the correct code is
The parent_id has to be checked every time, not only if $referenced_paragraph_ids is not empty. Without that, all paragraphs can be removed accidentally.
Comment #9
anybodyI can confirm this issue, but maybe it's a duplicate or subissue of #2771531: [META] Remove obsolete composite entities from existing storage (garbage collection)