Skip to content

Commit 5e12808

Browse files
MAGETWO-71801: FIX for issue 9930 - Asymmetric Transaction Error with ElasticSearch #10610
2 parents d52810f + bab6afc commit 5e12808

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
@@ -193,6 +193,7 @@ public function addImage(
193193
$mediaGalleryData['images'][] = [
194194
'file' => $fileName,
195195
'position' => $position,
196+
'media_type' => 'image',
196197
'label' => '',
197198
'disabled' => (int)$exclude,
198199
];

0 commit comments

Comments
 (0)