Hi. When loading a page instance trough FindPagesWithCritieria (PageTypeID) this weird error occurs.
Lazy loaded property value is not supported by the current property instance
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Lazy loaded property value is not supported by the current property instance
Line 138: }
Line 139: };
Line 140: return DataFactory.Instance
Line 141: .FindPagesWithCriteria(contentLink.ToPageReference(),criteriaCollection)
Line 142: .OfType<T>().ToList();
As far as I know we only have virtual properties on this page type. Any idea why this is happening?
We load a similar page type on another site and it works perfectly.
It seems related to the site somehow, "develop" and "master" branch has the same exception.
This exception seems to break Epi backoffice as well. Get exception in loading children to the start page of the site.
Ok this seems to be releated to custom properties we have added to a different branch. So strange that Epi can't handle this.
Soft warning instead of exception.