I think entity translation doesn't create if imported value of translation is empty.


diff --git a/feeds_et.mappers.inc b/feeds_et.mappers.inc
index 083cabe..ee1ef9b 100644
--- a/feeds_et.mappers.inc
+++ b/feeds_et.mappers.inc
@@ -34,7 +34,7 @@
  * Callback for mapping text fields.
  */
 function _feeds_et_field_feeds_set_target_text($source, $entity, $target, $value) {
-  if (!is_array($value)) {
+  if (!is_array($value) && $value !== '') {
     $value = array($value);
   }
   // Process the target name and language

Comments

mohammed j. razem’s picture

Status: Active » Fixed

Committed to dev

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.