Closed (fixed)
Project:
Trash
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2024 at 09:00 UTC
Updated:
2 Jan 2025 at 10:34 UTC
Jump to comment: Most recent
Until https://www.drupal.org/project/trash/issues/3376216 gets resolved, translations should not be allowed to be deleted to prevent any data loss.
See https://www.drupal.org/project/trash/issues/3376216
Display an a message when a user tries to delete the translation, saying that a translation should not be deleted, but unpublished.
Open a MR.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
alecsmrekar commentedComment #4
alecsmrekar commentedTest steps for the MR:
drush si -ydrush en -y content_translation trash/admin/config/regional/languageand add Spanish as a new language/admin/config/regional/content-languageand enable translation for Article nodes/es/node/1/delete, and ensure you can't submit the form. There should be a message saying "Moving translations to the trash bin is currently not supported. Unpublish the translation instead.".Comment #5
alecsmrekar commentedComment #6
alecsmrekar commentedComment #7
amateescu commentedPosted an issue in the MR.
Comment #8
alecsmrekar commentedComment #9
amateescu commentedMerged into 3.x, thanks!
Comment #10
plachI had a look at the MR and did some testing and this looks good to me as well, thanks!