504 Plans: User input error messages not useful
The 504 page does not correctly handle common user input issues.
If a user enters an Effective Date that is AFTER the End Date, they get the "Unexpected Error" page.
This is NOT helpful for the user. This is a common and likely user input issue and should be displayed as such to them.
Here is the ERR hash: Xvjd29UTcubCH3BsDG/VQA==
Based upon the error, this raises a further issue... in that the error given Does not relate to the actual source (the bad user input). Instead, the error gets lost in the chain of a application mis-configuration (the missing Error view)... which means this ERR record has limited (if any) diagnostic usefulness.
We had to reach out to the user and inquire about how to repeat the error.
{"Message":"The view 'Error' or its master was not found or no view engine supports the searched locations.
The following locations were searched:\r\n
~/Areas/StudentData/Views/Program504/Error.aspx\r\n
~/Areas/StudentData/Views/Program504/Error.ascx\r\n
~/Areas/StudentData/Views/Shared/Error.aspx\r\n
~/Areas/StudentData/Views/Shared/Error.ascx\r\n
~/Views/Program504/Error.aspx\r\n
~/Views/Program504/Error.ascx\r\n
~/Views/Shared/Error.aspx\r\n
~/Views/Shared/Error.ascx\r\n
~/Areas/StudentData/Views/Program504/Error.cshtml\r\n
~/Areas/StudentData/Views/Program504/Error.vbhtml\r\n
~/Areas/StudentData/Views/Shared/Error.cshtml\r\n
~/Areas/StudentData/Views/Shared/Error.vbhtml\r\n
~/Views/Program504/Error.cshtml\r\n
~/Views/Program504/Error.vbhtml\r\n~/Views/Shared/Error.cshtml\r\n
~/Views/Shared/Error.vbhtml",
"StackTrace":"
at System.Web.Mvc.ViewResult.FindView(ControllerContext context)\r\n
at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)\r\n
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass21.<BeginInvokeAction>b1e(IAsyncResult asyncResult)\r\n
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)\r\n
at System.Web.Mvc.Controller.<BeginExecuteCore>b1d(IAsyncResult asyncResult, ExecuteCoreState innerState)\r\n
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult)\r\n 1.CallEndDelegate(IAsyncResult asyncResult)\r\n
at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)\r\n
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid
at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)\r\n
at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b5(IAsyncResult asyncResult, ProcessRequestState innerState)\r\n
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)\r\n
at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)\r\n
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()\r\n
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)\r\n
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)",
"Source":"System.Web.Mvc","InnerException":"None"}
From Ticket #: 471866
