vue-storefront-1
vue-storefront-1 copied to clipboard
[Bug]: If defaultStoreCode is set in a multistore setup, homepage results in error.
Describe the Bug
If I set a defaultStoreCode to "se", and enable multistore, the home page results in error - it loads endlessly. The rest pages work perfectly. The page "/" doesn't work but "/category.html" or "/se/category.html" both work perfectly. I also tried the latest VSF1 version but the same problem occurs.
Current behavior
No response
Expected behavior
The home page should open same as with the defaultStoreCode in the URL ("/se").
Steps to reproduce
- set defaultStoreCode
- enable multistore
- load home page
What version of Vue Storefront are you using?
1.12.2
What version of Node.js are you using?
12.2
What browser (and version) are you using?
Chrome
What operating system (and version) are you using?
macOS
Relevant log output
Deprecated action mappingFallback - use mapFallbackUrl instead.
You can enable mapFallbackUrl by changing 'config.urlModule.enableMapFallbackUrl' to true
null
`product/list` deprecated, will be not used from 1.12, use "findProducts" instead null
Entity cache is enabled for productList null
Result from ES for 5dfa0120a400a2485ae786e8be2134bb10602969b52c74c25488f994 (attribute), ms=96 null
Result from ES for 2db0791617756d5e9e8e782767b9e34ea33b08a448239982684e2b99 (product), ms=122 null
Taxes calculated server side, skipping null
Result from ES for e7ee6568a1fa9893c3cebcbb2726cd31d95e9434ec7c02f2679cdd24 (category), ms=91 null
[dispatcher] Category query returned empty result url_path = page-not-found null
Redirect for resource not found : /page-not-found
Able to fix / change the documentation?
- [ ] Yes
- [X] No
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
I think I found a fix which was not commited but included in the changelog: https://github.com/vuestorefront/vue-storefront/commit/2a8c3db5204ce203d8a6fd1d4f714a2bab23ea82 . Could you check it, please?
