vuestorefront / vue-storefront-1

The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. We have custom integrations with Magento, commercetools, Shopware and Shopify and total coverage is just a matter of time. The API approach also allows you to merge VSF with any third-party tool like CMS, payment gateways or analytics. Newest updates: https://blog.vuestorefront.io. Always Open Source, MIT license.
https://www.vuestorefront.io
MIT License
18 stars 13 forks source link

[Bug]: URL mapping error after editing a category URL key for a store view #522

Open antonioglass opened 2 years ago

antonioglass commented 2 years ago

Describe the Bug

After changing a category URL key on Magento for a specific store view I get an error on page refresh or direct access. I have 3 vsf instances running under 3 different domains, and 1 vsf-api instance. For the first instance there is no this issue but for the other 2 websites / instances, there is such an issue.

Also, if I set enableMapFallbackUrl to false, it works well.

Current behavior

No response

Expected behavior

The page must be loaded successfully.

Steps to reproduce

Create a category:

Display Settings

Edit URL key (store view scope):

Content

Open Home page Go to New Category: Screenshot 2022-03-23 at 21 23 12 Refresh the page: Screenshot 2022-03-23 at 21 21 06

What version of Vue Storefront are you using?

1.12.2

What version of Node.js are you using?

12.22.9

What browser (and version) are you using?

Chrome

What operating system (and version) are you using?

Ubuntu

Relevant log output

No response

Able to fix / change the documentation?

Code of Conduct