Skip to content

Commit b2b29ea

Browse files
Fixed Unable to apply data patch issue magento#29365
1 parent d1ff2ca commit b2b29ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogUrlRewrite/Setup/Patch/Data/UpdateUrlKeyForProducts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function apply()
5858
$table = $this->moduleDataSetup->getTable('catalog_product_entity_varchar');
5959
$select = $this->moduleDataSetup->getConnection()->select()->from(
6060
$table,
61-
['value_id', 'value']
61+
['entity_id', 'attribute_id', 'store_id', 'value_id', 'value']
6262
)->where(
6363
'attribute_id = ?',
6464
$this->eavSetup->getAttributeId($productTypeId, 'url_key')

0 commit comments

Comments
 (0)