- First commit to issue fork.
- Merge request !6Issue #3203606 by MilosR: How do I handle deleted entities → (Open) created by milosr
- Open on Drupal.org →Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7last update
7 months ago Waiting for branch to pass - last update
7 months ago 1 pass - Status changed to Needs review
7 months ago 10:21am 26 April 2024 - 🇭🇷Croatia milosr Croatia, Montenegro
I've created logic where 100 logs are loaded on cron. It checks if entities exist, and if they don't, it deletes the log. Deletion is disabled by default, but can be enabled in settings.
- 🇩🇪Germany Anybody Porta Westfalica
Deleting the logs if an entity was deleted is the totally wrong approach from my perspective.
Logs should never be deleted, they are exactly for tracking history. - 🇭🇷Croatia milosr Croatia, Montenegro
@Anybody
Because of that, I disabled that option by default. If someone needs to delete logs for deleted entities, then they have options to do that.