#106658Deleting page translations wrongfully deletes original content elements in default language
Description
Observation:
When a page translation record is deleted, and then the soft-deleted record in the Recycler module
is also completely deleted, the original content elements in the default language are also deleted
completely (removed from the database).
Expected result:
- Only the translated page and it’s translated content elements should be deleted
- The original content elements in the default language should not be deleted
Steps to reproduce:
- Create a new page
- Add content elements to the page in the default language
- Translate the page
- Translating the content elements is optional. It happens with and without translated content elements. The translation mode (“connected” or “copy”) doesn’t matter either
- Delete the page translation, not the translated content elements. The translated content elements will be deleted automatically
- Go to the Recycle module and delete all soft-deleted records
- Go back to the newly createad page from step 1
- The content elements in the default language are completey deleted