- 🇺🇦Ukraine podarok Ukraine
needs reroll
git apply 2908530-12.patch error: patch failed: src/TranslationHelper.php:65 error: src/TranslationHelper.php: patch does not apply error: patch failed: tests/src/FunctionalJavascript/TranslationTest.php:76 error: tests/src/FunctionalJavascript/TranslationTest.php: patch does not apply
I can confirm this is still issue. I'm on the latest version ( 2.0.0-rc10 ) and our live site is on D 9.5.11, but I tried this out on a fresh install of drupal 10 (10.1) just to make sure it wasn't just the live site.
IEF works great on English content only, but with other languages (multi-lingual) there are few issues.
Basic setup - enable tmgmt module (for translations) and Language module (and create another language). Create a Reference to Content to another Content type. Then create a translation, and on the translated page try to add translated node (or new).
Oberervations --
If on the "manage form display" configuration page (/admin/structure/types/manage/CONTENTTYPE/form-display) if I switch the widget from IEF complex or simple back to just "Select List" or "Autocomplete" then it points to where it should (translated node in another language) but going back to IEF will switch it back to default language (in my case english)On the translated node's IEF complex form, the options to add another item, or "remove" an existing one are missing, but on English works perfectly.
Would it help to add images or something? I think maybe team knows exactly how to reproduce by now, maybe I can also look into this one and help, but wasn't sure if this bug is being worked on/already fixed. Any updates on this one?
- 🇧🇪Belgium michaelsoetaert
We're currently upgrading inline_entity_form from
1.0.0-rc17
to3.0.0-rc21
and we were using the patch from comment #13 🐛 Referenced node changes language if different from node with IEF complex form Needs work together with patch #106 ✨ Support adding new entities when translating Needs review from issue #2822764 ✨ Support adding new entities when translating Needs review .During the upgrade, we've switched to the latest patch ( #149 ✨ Support adding new entities when translating Needs review ) from issue #2822764 ✨ Support adding new entities when translating Needs review (without patch #13 🐛 Referenced node changes language if different from node with IEF complex form Needs work from this issue, since it doesn't apply to version
3.0.0-rc21
) and I currently can't seem to replicate the problem described in this issue anymore.Looking into it a bit deeper, the code this patch adds (and builds upon) in the
updateEntityLangcode
-function now has been added to theprepareEntity
-function (see patch #149 → of that issue), while theupdateEntityLangcode
-function is removed.Please correct me if I'm wrong, but I think this issue can be closed in favour of issue #2822764 ✨ Support adding new entities when translating Needs review .