- Issue created by @michaelsoetaert
- 🇧🇪Belgium michaelsoetaert
The previous patch contained changes from another patch. I've removed that (wrongfully added) code.
- Status changed to Needs review
10 months ago 1:23pm 26 February 2024 - 🇧🇪Belgium michaelsoetaert
When used in conjunction with #3364019 ✨ Add feature to clone entities by reference fields like Paragraphs RTBC to clone referenced entities, the entities would still be loaded in the current language and not the requested translation language. Properly setting the translation language in the
$form_state
fixes this issue.Attached is the updated patch.
- 🇮🇳India gaurav_manerkar Vasco Da Gama, Goa
This doesn't seem to work well.
Steps to reproduce:
1. Create new entity in Drupal
2. Go to entity edit form >> change language >> save entity
3. Click on "copy" operation or tab
4. Change language and click save for cloned entity.Error:
LogicException: The translation language cannot be changed ({LANGCODE})
- 🇮🇳India gaurav_manerkar Vasco Da Gama, Goa
gaurav_manerkar → changed the visibility of the branch 3423495-cloning-entity-translation to hidden.