magento2-regenurl
magento2-regenurl copied to clipboard
Generating urls for store view not default is broken
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)
I can confirm, I also have this issue and the proposed fix solves the problem. Thanks for the tool and thanks for the fix ;)