next-drupal icon indicating copy to clipboard operation
next-drupal copied to clipboard

Deleting entity translation does not trigger revalidation

Open bojanbogdanovic opened this issue 1 year ago • 0 comments

Package containing the bug

next (Drupal module)

Describe the bug

When deleting an entity translation which isn't the default language, the revalidation isn't triggered for that specific translation. This results in that the translation isn't available in Drupal but the page is still available on the frontend.

Expected behavior

When deleting an entity translation, the associated page in the frontend shouldn't be available anymore.

Steps to reproduce:

  1. Add node with two translations (e.g: English and Dutch).
  2. Then delete Dutch (which isn't the default language) translation on: /node/<nid>/translations
  3. Check if the Dutch node is available on the frontend.

bojanbogdanovic avatar Jun 18 '24 13:06 bojanbogdanovic