diff --git a/Plugin/CatalogImportExport/Model/Import/Uploader.php b/Plugin/CatalogImportExport/Model/Import/Uploader.php index d1e4a1a..722d32a 100644 --- a/Plugin/CatalogImportExport/Model/Import/Uploader.php +++ b/Plugin/CatalogImportExport/Model/Import/Uploader.php @@ -152,6 +152,7 @@ public function aroundMove(\Magento\CatalogImportExport\Model\Import\Uploader $u if ($this->parsedRemoteFileUrl['type'] === 'video') { $cloudinaryVideosImportMap = $this->coreRegistry->registry('cloudinary_videos_import_map') ?: []; $cloudinaryVideosImportMap["{$result['file']}"] = $this->parsedRemoteFileUrl["orig_url"]; + $this->coreRegistry->unregister('cloudinary_videos_import_map'); $this->coreRegistry->register('cloudinary_videos_import_map', $cloudinaryVideosImportMap); } }