Skip to content

Commit

Permalink
AKM-25: Enum translations not importing
Browse files Browse the repository at this point in the history
  • Loading branch information
dxops committed Jul 13, 2021
1 parent 58ee7bd commit 6ebf20d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ImportExport/Processor/AttributeImportProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,12 @@ public function process($item)
$this->cacheProvider->save('attribute_fieldNameMapping', $this->fieldNameMapping);
$this->cacheProvider->save('attribute_fieldTypeMapping', $this->fieldTypeMapping);

$this->updateAttributeLabelTranslationContext($item, $object->getFieldName());
$itemData = $this->context->getValue('itemData');

$this->updateAttributeLabelTranslationContext($itemData, $object->getFieldName());
$this->cacheProvider->save('attribute_attributeLabels', $this->attributeLabels);

$this->updateOptionLabelTranslationContext($item, $object->getFieldName());
$this->updateOptionLabelTranslationContext($itemData, $object->getFieldName());
$this->cacheProvider->save('attribute_optionLabels', $this->optionLabels);
}

Expand Down

0 comments on commit 6ebf20d

Please sign in to comment.