magento2-regenurl icon indicating copy to clipboard operation
magento2-regenurl copied to clipboard

Generating urls for store view not default is broken

Open MaxE17677 opened this issue 6 years ago • 1 comments

https://github.com/Iazel/magento2-regenurl/blob/f72b83c5f6eeff49b66e6ce6fd9e39a2ab743455/Iazel/RegenProductUrl/Console/Command/RegenerateProductUrlCommand.php#L87

The if in line 87 should be removed. Otherwise all generated url's are persisted under the default store view.

Call bin/magento iazel:regenurl -s 2 builds urls for the correct store view. But saves them under store view 1 (default)

MaxE17677 avatar Mar 05 '18 11:03 MaxE17677

I can confirm, I also have this issue and the proposed fix solves the problem. Thanks for the tool and thanks for the fix ;)

raivisdejus avatar Mar 15 '18 14:03 raivisdejus