Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit e1d437a

Browse files
committed
MAGETWO-80203: [2.2.x] Asymmetric Transaction Error with ElasticSearch
1 parent 850b9e5 commit e1d437a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Catalog/Model/Product/Gallery/Processor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ public function addImage(
192192
$mediaGalleryData['images'][] = [
193193
'file' => $fileName,
194194
'position' => $position,
195+
'media_type' => 'image',
195196
'label' => '',
196197
'disabled' => (int)$exclude,
197198
];

0 commit comments

Comments
 (0)