Hi Aarati Sabnis
This issue is still exist.
Steps -
Enter Start date
Enter End date as 0/0. here it throws serer error when we enter the date.
error log:
Exception : This request has been blocked because sensitive information could be disclosed to third party web sites when this is used in a GET request. To allow GET requests, set JsonRequestBehavior to AllowGet.
App Error Log : -
Employee ID : 0
Action Name : CompareEnrollmentDate
Model : System.Web.Mvc.HandleErrorInfo
Controller : Configuration
Web Error Log : at System.Web.Mvc.JsonResult.ExecuteResult(ControllerContext context)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
CC: Hrishikesh Deshpande
Thanks
Sanjana Jadhav
Hello Hrishikesh Deshpande,
Concern : When start date is given and end date is given as 0/0/0 then we will get server error.
Cause :Invalid date format for 0/0/0 was not handled. So it was giving server error.
Correction : Now Invalid date format for 0/0/0 is handled and it is working properly.
Thanks,
Aarati R. Sabnis