Entity reference field items are not removed when the referenced entity is deleted.
Add a way to clean up dangling references in a batch job.
🐛 Remove orphaned (dangling) entity references when an entity is deleted Active
A New button in the field storage config form for entity reference fields. Clicking it starts a batch job which displays a short summary with the number of removed items after finishing.
None
None
Closed: won't fix
10.2 ✨
Used to alert the usability topic maintainer(s) that an issue significantly affects (or has the potential to affect) the usability of Drupal, and their signoff is needed. When adding this tag, make it easy to review the issue. Make sure the issue summary describes the problem and the proposed solution. Screenshots usually help a lot! To get sign-off on issues with the "Needs usability review" tag, post about them in the #ux channel on Drupal Slack, and/or attend a UX meeting to demo the patch and get direct feedback from designers/UX folks/product management on next steps. If an issue represents a significant new feature, UI change, or change to the general "user experience" of Drupal, use Needs product manager review instead. See the scope of responsibilities for product managers.
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.