I believe I've seen this topic discussed on here b...
# suitecommerce
c
I believe I've seen this topic discussed on here before, but is anyone aware of how to solve the Extensibility API addToViewContextDefinition error related to the specified view not being available to the component? It appears that the method fails when attempting to require the view. For instance, I'm trying to add to the LoginRegister.Register.View context, which works locally, but after deploying and activating, I receive the error. I've tried both the Layout and LoginRegisterPage component.
s
The layout component should be fine. What is the error?
c
'INVALID_PARAM: The specified view_id ('LoginRegister.Register.View') is not valid for the current component or the callback is not a function.'
However, I don't see this in my local environment, and all seems to work as expected.
p
I’m experiencing the same issue, it started this week.
s
OK, I am able to replicate this using both the layout and loginregisterpage component. Please raise a case and send me the case number.
c
@Steve Goldberg Sure thing. Here is the case number: 3833621
s
TY
f
@Cory working on it
c
@Flo Meilan and @Steve Goldberg thank you both.
p
Hi @Flo Meilan @Steve Goldberg facing the same issue with Header.Logo.View. Is it related?
f
Yes, the root cause is the same. We are working on the fix.
p
Thanks @Flo Meilan