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

Pre-Prod-OE Testing : Getting server error when adding Child or Spouse

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Bug Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: UI Refresh
    • Labels:
      None
    • Environment:
      Pre Production
    • Bug Severity:
      Medium
    • Level:
      Employee
    • Module:
      BenAdmin
    • Reported by:
      Harbinger
    • Company:
      UND
    • Item State:
      Stage QA - Production Deployment on Hold

      Description

      We got server error while we tried to add Child or spouse.

      Test User Details:
      Company : UND
      Userid: obasi9632587418741
      Password: Password@1

      Steps to reproduce:
      1. Create one use
      2. Login with created user
      3. Traverse OE workflow
      4. On Child page – try to add child
      5. You will get an server error

      Error Log: ErrorID : 0
      ErrorSource : ControllerAppTier.Save->WORKTERRAControllerAppTier.Save->EmployeeData.Save->EmployeeData.UpdateEmployeeProfile
      ErrorMessage: Error converting data type nvarchar to bigint.
      @AdminApprovalReqd @IsAdminVerificationApprovalFlag : 1###0
      @AdminApprovalReqd @IsAdminVerificationApprovalFlag AFTER OE : 0~~~0

        Attachments

          Issue Links

            Activity

            Show
            shaikh.ateeque Shaikh Ateeque (Inactive) added a comment - Sachin Hingole Rakesh Roy Venkatesh Pujari Komal Barde
            Hide
            pratap.patil Pratap Patil (Inactive) added a comment -

            Hello Swapnil Pandhare ,
            Please look into this.
            Thanks,
            Pratap

            CC: Nidhi Kaul , Vijayendra Shinde

            Show
            pratap.patil Pratap Patil (Inactive) added a comment - Hello Swapnil Pandhare , Please look into this. Thanks, Pratap CC: Nidhi Kaul , Vijayendra Shinde
            Hide
            amit.kumawat Amit Kumawat (Inactive) added a comment -

            Hello Hrishikesh Deshpande,

            Please test this when it is deployed at CodeMap.

            Concern : Pre-Prod-OE Testing : Getting server error when adding Child or Spouse

            Cause : Data Type was defined bigint in trigger [To add value for Meritain Member Card Number field], so if EmpID is alpha numeric then it was failing and throwing server error.

            Correction : Changed Data Type bigint to nvarchar for variable in trigger.

            CC: Sheetal Bodhale, Swapnil Pandhare, Satya

            Thanks & Regards
            Amit Kumawat

            Show
            amit.kumawat Amit Kumawat (Inactive) added a comment - Hello Hrishikesh Deshpande , Please test this when it is deployed at CodeMap. Concern : Pre-Prod-OE Testing : Getting server error when adding Child or Spouse Cause : Data Type was defined bigint in trigger [To add value for Meritain Member Card Number field] , so if EmpID is alpha numeric then it was failing and throwing server error. Correction : Changed Data Type bigint to nvarchar for variable in trigger. CC: Sheetal Bodhale , Swapnil Pandhare , Satya Thanks & Regards Amit Kumawat
            Hide
            amit.kumawat Amit Kumawat (Inactive) added a comment -

            Impacted Areas :

            • Employee Login > Employee Workflow/ Dashboard > Add Child/ Spouse
            • CA/ Partner Login > Employee Dashboard > Add Child/ Spouse

            Affected Files :

            • 2_NF-5788_OES_TR_trgInsEmployee_DependentChild_InsCardNumber
            • 3_NF-5788_OES_TR_trgInsEmployee_DependentSpouse_InsCardNumber
            • 4_NF-5788_OES_TR_trgInsEmployee_InsCardNumber
            Show
            amit.kumawat Amit Kumawat (Inactive) added a comment - Impacted Areas : Employee Login > Employee Workflow/ Dashboard > Add Child/ Spouse CA/ Partner Login > Employee Dashboard > Add Child/ Spouse Affected Files : 2_ NF-5788 _OES_TR_trgInsEmployee_DependentChild_InsCardNumber 3_ NF-5788 _OES_TR_trgInsEmployee_DependentSpouse_InsCardNumber 4_ NF-5788 _OES_TR_trgInsEmployee_InsCardNumber
            Hide
            sanjana.jadhav Sanjana Jadhav (Inactive) added a comment -

            Hi Amit Kumawat

            This is Company specific issue hence not able to test it on codemap.
            I will verify it on pre production after deployment.

            Thanks,
            Sanjana Jadhav

            CC: Prasad Pise Hrishikesh Deshpande Sachin Hingole Rakesh Roy

            Show
            sanjana.jadhav Sanjana Jadhav (Inactive) added a comment - Hi Amit Kumawat This is Company specific issue hence not able to test it on codemap. I will verify it on pre production after deployment. Thanks, Sanjana Jadhav CC: Prasad Pise Hrishikesh Deshpande Sachin Hingole Rakesh Roy
            Hide
            hrishikesh.deshpande Hrishikesh Deshpande (Inactive) added a comment -

            Again getting server error on UND company on Pre-prod.

            Error log 1-

            Exception : The required anti-forgery form field "__RequestVerificationToken" is not present.
            App Error Log : -
            Employee ID : 12404
            Action Name : GetEmployeeProfileInfo
            Model : System.Web.Mvc.HandleErrorInfo
            Controller : Customization
            Web Error Log : at System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken, AntiForgeryToken fieldToken)
            at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext, String cookieToken, String formToken)
            at System.Web.Helpers.AntiForgery.Validate(String cookieToken, String formToken)
            at WORKTERRA.ValidateJsonAntiForgeryTokenAttribute.OnAuthorization(AuthorizationContext filterContext)
            at System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor)
            at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

            Error Log 2 -

            ErrorID : 0
            ErrorSource : ControllerAppTier.Save->WORKTERRAControllerAppTier.Save->EmployeeData.Save->EmployeeData.UpdateEmployeeProfile
            ErrorMessage: Error converting data type nvarchar to bigint.
            @AdminApprovalReqd @IsAdminVerificationApprovalFlag : 1###0
            @AdminApprovalReqd @IsAdminVerificationApprovalFlag AFTER OE : 0~~~0

            Show
            hrishikesh.deshpande Hrishikesh Deshpande (Inactive) added a comment - Again getting server error on UND company on Pre-prod. Error log 1- Exception : The required anti-forgery form field "__RequestVerificationToken" is not present. App Error Log : - Employee ID : 12404 Action Name : GetEmployeeProfileInfo Model : System.Web.Mvc.HandleErrorInfo Controller : Customization Web Error Log : at System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken, AntiForgeryToken fieldToken) at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext, String cookieToken, String formToken) at System.Web.Helpers.AntiForgery.Validate(String cookieToken, String formToken) at WORKTERRA.ValidateJsonAntiForgeryTokenAttribute.OnAuthorization(AuthorizationContext filterContext) at System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor) at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) Error Log 2 - ErrorID : 0 ErrorSource : ControllerAppTier.Save->WORKTERRAControllerAppTier.Save->EmployeeData.Save->EmployeeData.UpdateEmployeeProfile ErrorMessage: Error converting data type nvarchar to bigint. @AdminApprovalReqd @IsAdminVerificationApprovalFlag : 1###0 @AdminApprovalReqd @IsAdminVerificationApprovalFlag AFTER OE : 0~~~0
            Hide
            amit.kumawat Amit Kumawat (Inactive) added a comment -

            Hello Hrishikesh Deshpande,

            Scripts wasn't executed, It will be deployed with next Pre Prod build.
            Please check it when it is deployed at Pre Prod.

            CC: Sheetal Bodhale, Swapnil Pandhare, Satya

            Thanks & Regards
            Amit K.

            Show
            amit.kumawat Amit Kumawat (Inactive) added a comment - Hello Hrishikesh Deshpande , Scripts wasn't executed, It will be deployed with next Pre Prod build. Please check it when it is deployed at Pre Prod. CC: Sheetal Bodhale , Swapnil Pandhare , Satya Thanks & Regards Amit K.
            Hide
            amit.kumawat Amit Kumawat (Inactive) added a comment -

            Hello Hrishikesh Deshpande,

            Scripts are executed at Pre Prod. Please check it.

            CC: Sheetal Bodhale, Swapnil Pandhare, Satya

            Thanks & Regards
            Amit K.

            Show
            amit.kumawat Amit Kumawat (Inactive) added a comment - Hello Hrishikesh Deshpande , Scripts are executed at Pre Prod. Please check it. CC: Sheetal Bodhale , Swapnil Pandhare , Satya Thanks & Regards Amit K.
            Hide
            hrishikesh.deshpande Hrishikesh Deshpande (Inactive) added a comment -

            This issue is Fixed on Pre-prod.

            Show
            hrishikesh.deshpande Hrishikesh Deshpande (Inactive) added a comment - This issue is Fixed on Pre-prod.
            Hide
            hrishikesh.deshpande Hrishikesh Deshpande (Inactive) added a comment -

            This is Fixed on Production.

            Show
            hrishikesh.deshpande Hrishikesh Deshpande (Inactive) added a comment - This is Fixed on Production.

              People

              Assignee:
              hrishikesh.deshpande Hrishikesh Deshpande (Inactive)
              Reporter:
              shaikh.ateeque Shaikh Ateeque (Inactive)
              Developer:
              Amit Kumawat (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Code Review Date:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0h
                  0h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 12.75h
                  12.75h