Hi,
We added glassmapper to an existing Sitecore MVC project(the project also has webform pages). Almost everything works fine except for the following lines of code :
@Html.Sitecore().Rendering("/sitecore/layout/Renderings/Mvc2014/Footer/Breadcrumb")
@Html.Sitecore().Rendering("/sitecore/layout/Renderings/Mvc2014/Footer/RelatedLinks")
@Html.Sitecore().Rendering("/sitecore/layout/Renderings/Mvc2014/Footer/SocialButtons")
@Html.Sitecore().Rendering("/sitecore/layout/Renderings/Mvc2014/Footer/PartnerLogos")
@Html.Sitecore().Rendering("/sitecore/layout/Renderings/Mvc2014/Footer/Copyright")
@Html.Sitecore().Rendering("/sitecore/layout/Renderings/Mvc2014/Footer/FooterText")
@Html.Sitecore().Rendering("/sitecore/layout/Renderings/Mvc2014/Footer/Doormat") the same works fine if we replace the path of the renderings with the respective guids as follows
@Html.Sitecore().Rendering("{64121396-29D6-4B30-A6E9-CD468AA6C217}")
We validate that the item fields are fine and they work fine when accessed using guid instead of paths. Not sure if where we are going wrong.
Please find the error stack as attachment.
Environment Details:
1.Sitecore Version 7.1
2.MVC 4.0
3.Glassmapper version 2.0.10.0
4.Glass Mapper CastleWinsdsor.dll 3.1.5.16
5.Glass Mapper SC razor 3.0.9.13
6.Glass Mapper SC.dll 3.1.9.30
Any help on this would be highly appreciate. Do let us know if any more information is required
thanx
piyush