Reputation: 58
Since I upgrade to the new spartacus version (1.5) I've seen this bug in the console. It's came from SiteContextComponentService.getInjectedService
.
I have not implemented nor used yet this service. How I can fix this bug? Cause I strongly believe is the origin of other little problems in my develop environment.
Upvotes: 1
Views: 329
Reputation: 1221
If you use 'CMSSiteContextComponent'
component type (flextype?), then it should come with the context
cms component data from the backend. Please check if the response contains it.
Upvotes: 1
Reputation: 58
So the origin of the error was that in the GET /pages
request I was not receiving the context
attribute neither in the LanguageComponent
nor the CurrencyComponent
.
Upvotes: 0