-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SC8: Fallback disabled for Sitecore MVC? #16
Comments
Ivan, |
Our solution is a Sitecore 8 rev 150121. We are using glass mapper in our MVC view renderings. We have an overridden ExecuteRenderer (to display errors) and an overridden GetGlassModel (to enable using queries in datasources) I executed following steps:
The fallback functioned fine in the sitecore backend, however on our rendered frontend the values were not falling back as expected. Debugging revealed that during the Mvc RenderRendering pipeline the value of FallbackDisabler.CurrentValue == FallbackStates.Disabled is TRUE. I found no explanation why during rendering the fallback would be disabled. As a temporary workaround I have placed a FallbackDisabler around our ExecuteRenderer process method to enable fallback forcefully. I was hoping you could explain the strange behavior and maybe resolve the root cause of the fallback being disabled during the Mvc RenderRendering pipeline... Sincerely, |
The stack overflow exception with Sitecore 8 has been reproduced and reported to Sitecore. Ticket 432531 We are still looking into the MVC part of this. cc: @SaintSkeeta |
@seankearney Did Sitecore ever give you a resolution on this? Thanks! |
We have a Sitecore 8 and are using glass mapper. During the GetModel Pipeline of MVC the FallbackDisabler is set to Disabled? We are using the ancestor fallback.
The text was updated successfully, but these errors were encountered: