I have a particular process (via classic designer) that is failing after upgrading to Forms Version 11 Update 3. I'm still investigating, but I'm wondering if anyone else has seen this issue and can point me in the correct direction.
This is a process we've had since 10.2 with no major changes, and it worked without issue on Version 11 Update 2, but started this issue with the upgrade to Update 3.
When a user opens a task assigned to them with the form, it just closes automatically and returns to their Inbox. When I preview the form from the designer, I receive an error stating: LFF502-UnexpectedError. This happens on loading the preview. I've already ruled out unassigned variables and my Javascript (I commented it all out), so it's something from the Layout page.
Here's what the event viewer says:
An unexpected error has occurred. [LFF502-UnexpectedError] Details: URL: /Forms/form/preview/75/0 Error: UnexpectedError Date: 1/30/2023 10:26:07 AM (Mountain Standard Time) HTTP Status Code: 500 Business Process ID: 34 User: {REDACTED} IP: {REDACTED} Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Business Process Name: New Member Onboarding Stack Trace: Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException Message: An unexpected error has occurred. [LFF502-UnexpectedError] Inner exception: System.InvalidCastException Message: Unable to cast object of type 'System.Data.Entity.DynamicProxies.cf_forms_3C41E27BE29C1414189B8A395E00BA02D82890E1368643617A4AC44EC5ED2348' to type 'Laserfiche.Forms.EntityModels.cf_theme'. at Laserfiche.Forms.EntityModels.Services.FunctionCacheService.<>c__DisplayClass4_0`2.<Memoize>b__0(TArg param) at E_Forms.Models.ViewModels.Form._BaseFormModel._PopulateFormValues(Int32 formId) at E_Forms.Models.ViewModels.Form._BaseFormModel.PopulateFormValues(Int32 formId) at E_Forms.Controllers.FormController.NewSubmission(Int32 formId, String mode, Int32 instanceId, Int32 loadDb, Boolean HideHeader) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_0.<InvokeActionMethodFilterAsynchronouslyRecursive>b__0() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_6.<BeginInvokeAction>b__4() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_1.<BeginInvokeAction>b__1(IAsyncResult asyncResult)