Uploaded image for project: 'New Features 2017'
  1. New Features 2017
  2. NF-3980

Server error is displayed on Clone Company form when try to Clone existing company.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Integrations
    • Labels:
      None
    • Environment:
      QA
    • Bug Type:
      Functional
    • Bug Severity:
      Blocker
    • Level:
      Partner
    • Module:
      BenAdmin
    • Reported by:
      Harbinger
    • Item State:
      Production Complete - Closed
    • Code Reviewed By:
      Ramya Tantry

      Description

      Server error is displayed on Clone Company form when try to Clone existing company.
      Replication Steps:
      1. Login as Partner
      2. Click on Employer Administration -> Clone Company
      3. Provide valid data to Clone existing company.
      4. Click on Save & Continue button.
      Expected Result:
      Server error should not be displayed on Clone Company form when try to clone existing company.
      Actual Result:
      Server error is displayed on Clone Company form when try to Clone existing company.

      Error Log:
      Exception : Object reference not set to an instance of an object.
      App Error Log : -
      Employee ID : 0
      Action Name : SaveCloneCompany
      Model : System.Web.Mvc.HandleErrorInfo
      Controller : Configuration
      Web Error Log : at WORKTERRA.SharedFunction.APICall(String url, String method, String contentType)
      at WORKTERRA.SharedFunction.GetOneIAMAccessTokenForClientCredentialFlow()
      at WORKTERRA.SharedFunction.CheckSanctionedCompanies(SanctionAPICompanyDTO objSanctionAPIUserDetails, String accessPath, Hashtable& objsaveToDB)
      at WORKTERRA.CommonClasses.SanctionAPIHelper.CheckCompanyFromSanctionAPI(Hashtable companyDetails, String accessPath, Boolean isCallFromCloneCompany)
      at WORKTERRA.Shared.Areas.Configuration.Models.CloneCompanyModel.SaveCloneCompany()
      at WORKTERRA.Shared.Areas.Configuration.Controllers.ConfigurationController.SaveCloneCompany(List`1 lstCompanyList)
      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.<InvokeActionMethodWithFilters>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: Saurabh SablakaSachin HingoleHrishikesh DeshpandeSamirRakesh Roy

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              prasadp Prasad Pise (Inactive)
              Reporter:
              prasadp Prasad Pise (Inactive)
              QA:
              Prasad Pise (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Code Review Date:

                  Time Tracking

                  Estimated:
                  Original Estimate - 5h
                  5h
                  Remaining:
                  Time Spent - 3.5h Remaining Estimate - 1.5h
                  1.5h
                  Logged:
                  Time Spent - 3.5h Remaining Estimate - 1.5h
                  3.5h