Skip to content

Commit

Permalink
Fixed transaction issues
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshsuhagiya committed Dec 30, 2019
1 parent 34ef309 commit dbcb81d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions app/code/Magento/CatalogUrlRewrite/etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,11 @@
<label>Create Permanent Redirect for URLs if URL Key Changed</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
<field id="generate_category_product_rewrites" translate="label" type="select" sortOrder="6" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
<field id="generate_category_product_rewrites" translate="label comment" type="select" sortOrder="6" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
<label>Generate "category/product" URL Rewrites</label>
<backend_model>Magento\CatalogUrlRewrite\Model\TableCleaner</backend_model>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<comment>
<![CDATA[<strong style="color:red">Warning!</strong> Turning this option off will result in permanent removal of category/product URL rewrites without an ability to restore them.]]>
</comment>
<comment><![CDATA[<strong style="color:red">Warning!</strong> Turning this option off will result in permanent removal of category/product URL rewrites without an ability to restore them.]]></comment>
<frontend_class>generate_category_product_rewrites</frontend_class>
</field>
</group>
Expand Down
3 changes: 2 additions & 1 deletion app/code/Magento/CatalogUrlRewrite/i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"Product URL Suffix","Product URL Suffix"
"Use Categories Path for Product URLs","Use Categories Path for Product URLs"
"Create Permanent Redirect for URLs if URL Key Changed","Create Permanent Redirect for URLs if URL Key Changed"
"Generate "category/product" URL Rewrites","Generate "category/product" URL Rewrites"
"Generate ""category/product"" URL Rewrites","Generate ""category/product"" URL Rewrites"
"URL key ""%1"" matches a reserved endpoint name (%2). Use another URL key.","URL key ""%1"" matches a reserved endpoint name (%2). Use another URL key."
"<strong style=""color:red"">Warning!</strong> Turning this option off will result in permanent removal of category/product URL rewrites without an ability to restore them.","<strong style=""color:red"">Warning!</strong> Turning this option off will result in permanent removal of category/product URL rewrites without an ability to restore them."

0 comments on commit dbcb81d

Please sign in to comment.