Loading
clearTarget() clears the wrong translation if entity and processor language differ
clearTarget() now only switches to a translation when the target is
translatable (a language on the mapping and a translatable field), so it
clears the translation that setTarget() writes to. The two added kernel
tests in TranslationTest fail without this change.
Closes #3628836
AI disclosure: This contribution was human-driven, AI-assisted, human-reviewed and tested in a real project.