Skip to content

Commit 3425ca4

Browse files
author
Mohan Ahuja
committed
ACP2E-345: Unable to save product URL key with a hyphen "-" at end.
- Updated Setup Patch Data dependency
1 parent bbbdaa1 commit 3425ca4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/code/Magento/Catalog/Setup/Patch/Data/UpdateProductUrlKeyDescription.php renamed to app/code/Magento/Catalog/Setup/Patch/Data/UpdateProductUrlKey.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
use Magento\Framework\Setup\Patch\PatchVersionInterface;
1414

1515
/**
16-
* Class UpdateProductUrlKeyDescription
16+
* Class UpdateProductUrlKey
1717
*
1818
* @package Magento\Catalog\Setup\Patch
1919
*/
20-
class UpdateProductUrlKeyDescription implements DataPatchInterface, PatchVersionInterface
20+
class UpdateProductUrlKey implements DataPatchInterface, PatchVersionInterface
2121
{
2222
/**
2323
* @var ModuleDataSetupInterface
@@ -67,6 +67,7 @@ public static function getDependencies()
6767
{
6868
return [
6969
UpdateProductAttributes::class,
70+
\Magento\CatalogUrlRewrite\Setup\Patch\Data\CreateUrlAttributes::class
7071
];
7172
}
7273

0 commit comments

Comments
 (0)