When creating a new project without any User Feature, causes an error in the browser console and user can't go to checkout. Cart page is still accessible.
ERROR TypeError: Cannot read property 'details' of undefined
at ɵ1$k (vendor.js:134421)
at vendor.js:118984
at memoized (vendor.js:118899)
at defaultStateFn (vendor.js:118939)
at vendor.js:118993
at memoized (vendor.js:118899)
at MapSubscriber.project (vendor.js:118778)
at MapSubscriber._next (vendor.js:120212)
at MapSubscriber.next (vendor.js:60748)
at FilterSubscriber._next (vendor.js:163984)
defaultErrorLogger @ core.js:4442
Tell us the version of Spartacus
Library version: 3.2.1
To Reproduce
Steps to reproduce the behavior:
Create new angular project ng new spartacus-error --style=scss
Add Spartacus through schematics ng add @spartacus/schematics --baseUrl https://Spartacus-training.eastus.cloudapp.azure.com:8443 --baseSite electronics-spa
Select b2c (did not test b2b)
Inverse selection on the User Features
Build application yarn && yarn run start
Open the browser and see error in console
Expected behavior
You should be able to go to checkout without the User Features enabled.
Desktop (please complete the following information):
When creating a new project without any User Feature, causes an error in the browser console and user can't go to checkout. Cart page is still accessible.
Tell us the version of Spartacus
To Reproduce Steps to reproduce the behavior:
ng new spartacus-error --style=scss
ng add @spartacus/schematics --baseUrl https://Spartacus-training.eastus.cloudapp.azure.com:8443 --baseSite electronics-spa
yarn && yarn run start
Expected behavior You should be able to go to checkout without the User Features enabled.
Desktop (please complete the following information):