Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Bugfix for wrong JSON scheme url's and hostname resolution for magento1 platform#443

Merged
gibkigonzo merged 3 commits into
vuestorefront:developfrom
icmaa:bugfix/json-scheme-path
May 25, 2020
Merged

Bugfix for wrong JSON scheme url's and hostname resolution for magento1 platform#443
gibkigonzo merged 3 commits into
vuestorefront:developfrom
icmaa:bugfix/json-scheme-path

Conversation

@cewald

@cewald cewald commented May 11, 2020

Copy link
Copy Markdown

This fixes two things:

  1. The schema extension files won't be found at the moment because the path needs to be relative fs.existsSync(). Right now the fs.existsSync check always returns false.

  2. Also the resolution of the VSF bridge URL of the magento1 platform has a flacky RegExp which will return true if a store-code string is found anywhere in the string but it should be match for strings that are surrounded by / only.

@gibkigonzo gibkigonzo merged commit 013d79b into vuestorefront:develop May 25, 2020
@cewald cewald deleted the bugfix/json-scheme-path branch May 25, 2020 12:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants