-
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
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
- relates to
-
NF-3646 Security: Need to block access to our application for SDN listed companies using Sanction API
- Closed