-
Type:
Bug
-
Status: Closed
-
Priority:
High
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Onboard
-
Labels:None
-
Environment:Stage
-
Bug Severity:Medium
-
Module:OnBoard
-
Reported by:Harbinger
In Employee login, during BenAdmin Flow, on downloading a file in 'Benefit Description' on Enroll now screen, server error occurred. PFA screen shot and error log.
All assets should be copied on this company.
Exception : Unauthorized request of file download. Current active companyID :=12742 does not match with requested download file company ID:=12681
App Error Log : -
Employee ID : 4925
Action Name : DownloadFile
Model : System.Web.Mvc.HandleErrorInfo
Controller : Common
Web Error Log : at WORKTERRA.Shared.Models.DownloadFormModel.ValidateRequestForDownload(String FilePath)
at WORKTERRA.Shared.Models.DownloadFormModel.DownloadFile(String FileId, String FileName, String FileDescription, String DestinationPath, Boolean DownloadFromWebServer, Boolean IsDeviceCall, Boolean GetFileFromCurrentWebServer)
at WORKTERRA.Shared.Controllers.CommonController.DownloadFile(String FileId, String FileName, String FileDescription, String DestinationPath, Boolean DownloadFromWebServer, Boolean GetFileFromCurrentWebServer, Boolean AppendGUIDtoFilename, Boolean RemoveGUIDfromFilename)
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.<>c_DisplayClass13.b_10()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)