Getting occasional error on glass 4.5.0.4 on Sitecore 9.
"Page editing error. Could not find property ****
on type ****BaseItemModel at Glass.Mapper.Utilities.GetGlassProperty.... at
Glass.Mapper.Sc.GlassHtml.MakeEditable..."
Rebooting the server fixes the issue.
Most of the time appears to be working, but sometimes having deployed to an environment when loading experience editor get this issue, and require to reboot the server. Could be a race condition on what glass template map gets loaded first, or a caching issue.
Anyone seen this error?
We weren't seeing this issue on the older version of Glass 4.3.4.197 on Sitecore 8.2.
Here is the base class
[SitecoreType(AutoMap = true)]
public class BaseItemModel
{
[SitecoreId]
public virtual Guid ItemId { get; set; }
[SitecoreInfo(SitecoreInfoType.TemplateId)]
public virtual Guid TemplateId { get; set; }
[SitecoreInfo(SitecoreInfoType.TemplateName)]
public virtual string TemplateName { get; set; }
}
View:
@inherits GlassView<******.MyViewModel>
@using (BeginEditFrame("*******EDITFRAMEPATH", Html.Sitecore().CurrentRendering.DataSource, "Title"))
{
<div>
@Editable(x => x.MyProperty***)
</div>
}