Uploaded image for project: 'WORKTERRA'
  1. WORKTERRA
  2. WT-10500

Forms Libray > File Download shows server error.

    Details

    • Type: Support Activity
    • Status: Closed
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: BenAdmin
    • Labels:
      None
    • Support Task Type:
      Data Correction
    • Reported by:
      Harbinger
    • Company:
      TotalWorks
    • Module:
      BenAdmin - EDS
    • Issue Importance:
      Q2
    • Severity:
      Simple

      Description

      Company : TotalWorks

      Server error gets displayed on click of Download action button in forms library.

      Exception : Unauthorized request of file download. Current active companyID :=12368 does not match with requested download file company ID:=11837
      App Error Log : -
      Employee ID : 4756
      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_DisplayClass15.b_12()
      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)

      CC : Jaideep VinchurkarHrishikesh DeshpandeSatya

        Attachments

          Issue Links

            Activity

            prasadp Prasad Pise (Inactive) created issue -
            prasadp Prasad Pise (Inactive) made changes -
            Field Original Value New Value
            Assignee Ashwin Wankhede [ ashwin.wankhede ] Jaideep Vinchurkar [ jaideep.vinchurkar ]
            prasadp Prasad Pise (Inactive) made changes -
            Link This issue relates to WT-10419 [ WT-10419 ]
            Hide
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment -

            this was because of wrong data present in database. when this company was created, must have used database of other companies. forms library files are still refereeing to the old company id. I have corrected data from back end. now it should work .

            Show
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment - this was because of wrong data present in database. when this company was created, must have used database of other companies. forms library files are still refereeing to the old company id. I have corrected data from back end. now it should work .
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) made changes -
            Status Open [ 1 ] In Development [ 10007 ]
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) made changes -
            Issue Type Bug [ 1 ] Support Activity [ 10301 ]
            Status In Development [ 10007 ] In Progress [ 3 ]
            Support Task Type Data Correction [ 11203 ]
            Workflow WT_Defects [ 48716 ] WT_Support [ 48723 ]
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) logged work - 08/Aug/17 02:21 PM
            • Time Spent:
              1h
               
              <No comment>
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) made changes -
            Company TotalWorks [ 13657 ]
            Component/s BenAdmin [ 10000 ]
            Developer Jaideep Vinchurkar [ jaideep.vinchurkar ]
            Module Parent values: BenAdmin(10100) Parent values: BenAdmin(10100)Level 1 values: EDS(10108)
            Remaining Estimate 2h [ 7200 ]
            Original Estimate 2h [ 7200 ]
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) made changes -
            QA Prasad Pise [ prasadp ]
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) made changes -
            Remaining Estimate 2h [ 7200 ] 1h [ 3600 ]
            Time Spent 1h [ 3600 ]
            Worklog Id 70184 [ 70184 ]
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) made changes -
            Assignee Jaideep Vinchurkar [ jaideep.vinchurkar ] Prasad Pise [ prasadp ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            prasadp Prasad Pise (Inactive) made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            Transition Time In Source Status Execution Times
            Jaideep Vinchurkar (Inactive) made transition -
            Open In Development
            1h 37m 1
            Jaideep Vinchurkar (Inactive) made transition -
            In Development In Progress
            38s 1
            Jaideep Vinchurkar (Inactive) made transition -
            In Progress Resolved
            1m 25s 1
            Prasad Pise (Inactive) made transition -
            Resolved Closed
            14d 12h 42m 1

              People

              Assignee:
              prasadp Prasad Pise (Inactive)
              Reporter:
              prasadp Prasad Pise (Inactive)
              Developer:
              Jaideep Vinchurkar (Inactive)
              QA:
              Prasad Pise (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Time Spent - 1h Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - 1h Remaining Estimate - 1h
                  1h