Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

[Bug]: If defaultStoreCode is set in a multistore setup, homepage results in error. #484

Open
2 of 3 tasks
antonioglass opened this issue Sep 28, 2021 · 2 comments
Open
2 of 3 tasks
Labels
bug Bug reports

Comments

@antonioglass
Copy link

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

  1. set defaultStoreCode
  2. enable multistore
  3. 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
  • No

Code of Conduct

  • I agree to follow this project's Code of Conduct
@antonioglass antonioglass added the bug Bug reports label Sep 28, 2021
@antonioglass
Copy link
Author

I think I found a fix which was not commited but included in the changelog: vuestorefront/vue-storefront@2a8c3db . Could you check it, please?

@antonioglass
Copy link
Author

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bug reports
Projects
None yet
Development

No branches or pull requests

1 participant