- Issue created by @claudiu.cristea
Let's take an hypothetical node with the following content
If you delete a the Italian translation of revision 2, the revision 3 still has Italian translation:
$storage = \Drupal::entityTypeManager()->getStorage('node');
$revision = $storage->loadRevision(2);
$revision->save();
But looking in the entity_usage table, you can see that all node Italian rows were removed. This is not correct because revision 3 still has an Italian translation. Its usage row should still exist.
Fix it.
None.
None.
None.
None.
Active
4.0
Code