Skip to content

Commit b01cb88

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
- Static tests are fixed
1 parent 97dec97 commit b01cb88

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,8 @@ private function setCategoryStoreIds($category)
148148
* @param Category $category
149149
* @return void
150150
*/
151-
private
152-
function resetUrlRewritesDataMaps(
153-
$category
154-
) {
151+
private function resetUrlRewritesDataMaps($category)
152+
{
155153
foreach ($this->dataUrlRewriteClassNames as $className) {
156154
$this->databaseMapPool->resetMap($className, $category->getEntityId());
157155
}

0 commit comments

Comments
 (0)