Closed codedge closed 4 years ago
When specifying --category-id=123 only it seems to still use product as entity_type. Only when I explicitly set --entity-type=category it runs correctly.
--category-id=123
product
entity_type
--entity-type=category
Does not work php bin/magento ok:urlrewrites:regenerate --category-id=244 // Does nothing
php bin/magento ok:urlrewrites:regenerate --category-id=244 // Does nothing
Works php bin/magento ok:urlrewrites:regenerate --entity-type=category --category-id=244 // Works, regenerate for category 244
php bin/magento ok:urlrewrites:regenerate --entity-type=category --category-id=244 // Works, regenerate for category 244
I think when only specifying --category-id it is clear that the entity category should be used.
--category-id
category
Hi @codedge
Added this feature in version 1.5.2. Please update extension.
When specifying
--category-id=123
only it seems to still useproduct
asentity_type
. Only when I explicitly set--entity-type=category
it runs correctly.Does not work
php bin/magento ok:urlrewrites:regenerate --category-id=244 // Does nothing
Works
php bin/magento ok:urlrewrites:regenerate --entity-type=category --category-id=244 // Works, regenerate for category 244
I think when only specifying
--category-id
it is clear that the entitycategory
should be used.