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
Source Error:
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.
Hi. When loading a page instance trough FindPagesWithCritieria (PageTypeID) this weird error occurs.
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.