I have upgraded the website to Sitecore 9.0.2 and since my project has a dependency on Glass mapper
, I have upgraded Glass mapper
to 5.3.15.
My Glass mapper
maps to the menu model and it does load the parent menu items but second level menu and third level menu are broken now. When I debug the code I found out that it is not able to convert the Model from IGlassBase
to the ISubMenu
Model. I know lazy loading of the item has been disabled by default on glass mapper.
I have tried config.EnableLazyLoadingForCachableModels = true
; to see if there is any caching issue going on but it did not resolve the issue and I am still getting the same issue.
Any Idea of how to enable conversion from glass object to custom object?