Skip to content

Commit 82e1951

Browse files
author
Dmytro Vilchynskyi
committed
MAGETWO-73002: [GITHUB] Issue with Product Import - "Category has not been created. URL key for specified store already exists" #8304
- Functional tests' random failures are fixed
1 parent b01cb88 commit 82e1951

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/CatalogUrlRewrite/Observer/CategoryProcessUrlRewriteSavingObserver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function execute(\Magento\Framework\Event\Observer $observer)
9696
}
9797

9898
if (!$category->hasData('store_id')) {
99-
$this->setCategoryStoreIds($category);
99+
$this->setCategoryStoreId($category);
100100
}
101101

102102
$mapsGenerated = false;
@@ -129,7 +129,7 @@ public function execute(\Magento\Framework\Event\Observer $observer)
129129
* @param Category $category
130130
* @return void
131131
*/
132-
private function setCategoryStoreIds($category)
132+
private function setCategoryStoreId($category)
133133
{
134134
/** @var StoreGroupCollection $storeGroupCollection */
135135
$storeGroupCollection = $this->storeGroupFactory->create();

0 commit comments

Comments
 (0)