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

Format paycheck: getting server error when try deleting paycheck line item

    Details

    • Type: Bug
    • Status: In Development
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Environment:
      Stage
    • Bug Severity:
      Low
    • Module:
      BenAdmin - EDS
    • Reported by:
      Harbinger
    • Item State:
      Development - On Hold

      Description

      Steps to reproduced :
      1]Added Paycheck line item valued on format paycheck page.
      2]Import Paycheck information.
      3]GO the format paycheck page and try to delete one of line item instead of showing valid message it is throwing server error

      below is error log:

      ErrorID : 0
      ErrorSource : ControllerAppTier.Delete->BenAdminControllerAppTier.Delete->EmployeeViewPaycheck.deleteFormatPaycheck
      ErrorMessage: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Employee_Paycheck_History_LiineItemID". The conflict occurred in database "LONGBuildingTechnologies_HSPL_12790", table "dbo.PaycheckLineItems", column 'ID'.
      The statement has been terminated.
      StackTrace: at WORKTERRA.BenAdmin.BenAdminControllerAppTier.Delete(BenAdminControllerWebTierEntity objBenAdminControllerWebTierEntity)
      at WORKTERRA.ControllerAppTier.Delete(Int32 intProjectsId, String strInput)
      TargetSite: System.String Delete(ValueObjects.BenAdminControllerWebTierEntity

        Attachments

          Activity

          rashmita.dudhe Rashmita Dudhe (Inactive) created issue -
          Show
          rashmita.dudhe Rashmita Dudhe (Inactive) added a comment - Jaideep Vinchurkar , Swapnil Pandhare , Hrishikesh Deshpande , Rakesh Roy
          rashmita.dudhe Rashmita Dudhe (Inactive) made changes -
          Field Original Value New Value
          Assignee Vijay Siddha [ vijays ] Satya [ ID10004 ]
          rashmita.dudhe Rashmita Dudhe (Inactive) made changes -
          Assignee Satya [ ID10004 ] Swapnil Pandhare [ swapnil.pandhare ]
          swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
          Assignee Swapnil Pandhare [ swapnil.pandhare ] Sheetal Bodhale [ sheetal.bodhale ]
          sheetal.bodhale Sheetal Bodhale (Inactive) made changes -
          Status Open [ 1 ] In Development [ 10007 ]
          sheetal.bodhale Sheetal Bodhale (Inactive) made changes -
          Remaining Estimate 10h [ 36000 ]
          Original Estimate 10h [ 36000 ]
          sheetal.bodhale Sheetal Bodhale (Inactive) made changes -
          Remaining Estimate 10h [ 36000 ] 7.5h [ 27000 ]
          Time Spent 2.5h [ 9000 ]
          Worklog Id 16702 [ 16702 ]
          sheetal.bodhale Sheetal Bodhale (Inactive) logged work - 03/Jan/17 01:22 AM
          • Time Spent:
            2.5h
             

            development is in progress.

          sheetal.bodhale Sheetal Bodhale (Inactive) made changes -
          Remaining Estimate 7.5h [ 27000 ] 4.5h [ 16200 ]
          Time Spent 2.5h [ 9000 ] 5.5h [ 19800 ]
          Worklog Id 16853 [ 16853 ]
          sheetal.bodhale Sheetal Bodhale (Inactive) logged work - 04/Jan/17 12:02 AM
          • Time Spent:
            3h
             

            Development is completed.

          sheetal.bodhale Sheetal Bodhale (Inactive) made changes -
          Item State Parent values: Development(10200)Level 1 values: Ready for Review(10208)
          sheetal.bodhale Sheetal Bodhale (Inactive) made changes -
          Remaining Estimate 4.5h [ 16200 ] 3.5h [ 12600 ]
          Time Spent 5.5h [ 19800 ] 6.5h [ 23400 ]
          Worklog Id 17180 [ 17180 ]
          sheetal.bodhale Sheetal Bodhale (Inactive) made changes -
          Item State Parent values: Development(10200)Level 1 values: Ready for Review(10208) Parent values: Development(10200)Level 1 values: Ready for Local Testing(10209)
          sheetal.bodhale Sheetal Bodhale (Inactive) made changes -
          Code Reviewed By Swapnil Pandhare [ 11900 ]
          sheetal.bodhale Sheetal Bodhale (Inactive) logged work - 05/Jan/17 01:10 AM
          • Time Spent:
            1h
             

            reviewed code by swapnil.
            code check in.

          sheetal.bodhale Sheetal Bodhale (Inactive) made changes -
          Assignee Sheetal Bodhale [ sheetal.bodhale ] Rashmita Dudhe [ rashmita.dudhe ]
          khandu.kshirsagar Khandu Kshirsagar (Inactive) made changes -
          Item State Parent values: Development(10200)Level 1 values: Ready for Local Testing(10209) Parent values: LB QA(10201)Level 1 values: LB Deployed(11600)
          Hide
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) added a comment -

          Sheetal Bodhale, Please update 3'c and assign back to me for testing.

          Thanks.

          Show
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) added a comment - Sheetal Bodhale , Please update 3'c and assign back to me for testing. Thanks.
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) made changes -
          Assignee Rashmita Dudhe [ rashmita.dudhe ] Sheetal Bodhale [ sheetal.bodhale ]
          Hide
          sheetal.bodhale Sheetal Bodhale (Inactive) added a comment -

          Hi Hrishikesh Deshpande,

          Please find below 3C's of the issue,
          Concern:getting server error while deleting paycheck line item
          Cause: Condition is not handled for used line item so it is giving server error of reference key.
          Correction: Condition is handled to check line item is already in use. Now it will show error message while deleting the line item

          Please verify and let me know.

          Thanks,
          Sheetal Bodhale

          Show
          sheetal.bodhale Sheetal Bodhale (Inactive) added a comment - Hi Hrishikesh Deshpande , Please find below 3C's of the issue, Concern:getting server error while deleting paycheck line item Cause: Condition is not handled for used line item so it is giving server error of reference key. Correction: Condition is handled to check line item is already in use. Now it will show error message while deleting the line item Please verify and let me know. Thanks, Sheetal Bodhale
          sheetal.bodhale Sheetal Bodhale (Inactive) made changes -
          Assignee Sheetal Bodhale [ sheetal.bodhale ] Hrishikesh Deshpande [ hrishikesh.deshpande ]
          sheetal.bodhale Sheetal Bodhale (Inactive) made changes -
          Remaining Estimate 3.5h [ 12600 ] 3.4h [ 12240 ]
          Time Spent 6.5h [ 23400 ] 6.6h [ 23760 ]
          Worklog Id 18188 [ 18188 ]
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) made changes -
          Assignee Hrishikesh Deshpande [ hrishikesh.deshpande ] Prasad Pise [ prasadp ]
          prasadp Prasad Pise (Inactive) made changes -
          Attachment WT-6985_OK.jpg [ 37000 ]
          Hide
          prasadp Prasad Pise (Inactive) added a comment - - edited

          HI Sheetal Bodhale

          This is working as expected on LB. It shows Alert message for line item already in use.

          Thanks

          Show
          prasadp Prasad Pise (Inactive) added a comment - - edited HI Sheetal Bodhale This is working as expected on LB. It shows Alert message for line item already in use. Thanks Prasad CC: Hrishikesh Deshpande Rakesh Roy Rashmita Dudhe
          prasadp Prasad Pise (Inactive) made changes -
          Status In Development [ 10007 ] Local Testing [ 10200 ]
          prasadp Prasad Pise (Inactive) made changes -
          Item State Parent values: LB QA(10201)Level 1 values: LB Deployed(11600) Parent values: LB QA(10201)Level 1 values: Ready for Stage(10213)
          prasadp Prasad Pise (Inactive) made changes -
          Remaining Estimate 3.4h [ 12240 ] 2.65h [ 9540 ]
          Time Spent 6.6h [ 23760 ] 7.35h [ 26460 ]
          Worklog Id 18200 [ 18200 ]
          prasadp Prasad Pise (Inactive) logged work - 10/Jan/17 02:19 PM
          • Time Spent:
            0.75h
             

            Discussion, Verification on LB & JIRA UPdates

          sheetal.bodhale Sheetal Bodhale (Inactive) logged work - 10/Jan/17 07:44 PM
          • Time Spent:
            0.1h
             

            updated 3C's

          rakeshr Rakesh Roy (Inactive) made changes -
          Developer Sheetal Bodhale [ sheetal.bodhale ]
          khandu.kshirsagar Khandu Kshirsagar (Inactive) made changes -
          Item State Parent values: LB QA(10201)Level 1 values: Ready for Stage(10213) Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602)
          prasadp Prasad Pise (Inactive) logged work - 12/Jan/17 12:49 PM
          • Time Spent:
            1h
             

            Testing on Stage

          prasadp Prasad Pise (Inactive) made changes -
          Remaining Estimate 2.65h [ 9540 ] 1.65h [ 5940 ]
          Time Spent 7.35h [ 26460 ] 8.35h [ 30060 ]
          Worklog Id 18736 [ 18736 ]
          rakeshr Rakesh Roy (Inactive) made changes -
          Status Local Testing [ 10200 ] Stage Testing [ 10201 ]
          prasadp Prasad Pise (Inactive) made changes -
          Attachment ServerError_STAGE.jpg [ 37257 ]
          Hide
          prasadp Prasad Pise (Inactive) added a comment - - edited

          Hi Sheetal Bodhale

          Server error is getting displayed on STAGE when I try to delete Line Item which in use by employee.

          PFA screenshot.

          Stage-Reopened.
          CC: Hrishikesh DeshpandeRashmita DudheRakesh RoySwapnil Pandhare

          Error Log:
          ErrorID : 0
          ErrorSource : ControllerAppTier.Delete->BenAdminControllerAppTier.Delete->EmployeeViewPaycheck.deleteFormatPaycheck
          ErrorMessage: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Employee_Paycheck_History_LiineItemID". The conflict occurred in database "LONGBuildingTechnologies_HSPL_12790", table "dbo.PaycheckLineItems", column 'ID'.
          The statement has been terminated.
          StackTrace: at WORKTERRA.BenAdmin.BenAdminControllerAppTier.Delete(BenAdminControllerWebTierEntity objBenAdminControllerWebTierEntity)
          at WORKTERRA.ControllerAppTier.Delete(Int32 intProjectsId, String strInput)
          TargetSite: System.String Delete(ValueObjects.BenAdminControllerWebTierEntity)

          Show
          prasadp Prasad Pise (Inactive) added a comment - - edited Hi Sheetal Bodhale Server error is getting displayed on STAGE when I try to delete Line Item which in use by employee. PFA screenshot. Stage-Reopened. CC: Hrishikesh Deshpande Rashmita Dudhe Rakesh Roy Swapnil Pandhare Error Log: ErrorID : 0 ErrorSource : ControllerAppTier.Delete->BenAdminControllerAppTier.Delete->EmployeeViewPaycheck.deleteFormatPaycheck ErrorMessage: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Employee_Paycheck_History_LiineItemID". The conflict occurred in database "LONGBuildingTechnologies_HSPL_12790", table "dbo.PaycheckLineItems", column 'ID'. The statement has been terminated. StackTrace: at WORKTERRA.BenAdmin.BenAdminControllerAppTier.Delete(BenAdminControllerWebTierEntity objBenAdminControllerWebTierEntity) at WORKTERRA.ControllerAppTier.Delete(Int32 intProjectsId, String strInput) TargetSite: System.String Delete(ValueObjects.BenAdminControllerWebTierEntity)
          prasadp Prasad Pise (Inactive) made changes -
          Resolution Unresolved [ 10200 ]
          Status Stage Testing [ 10201 ] Reopen in Stage [ 10023 ]
          prasadp Prasad Pise (Inactive) made changes -
          Item State Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602) Parent values: Stage QA(10202)Level 1 values: Re-open(10216)
          prasadp Prasad Pise (Inactive) made changes -
          Assignee Prasad Pise [ prasadp ] Sheetal Bodhale [ sheetal.bodhale ]
          prasadp Prasad Pise (Inactive) logged work - 13/Jan/17 12:09 PM
          • Time Spent:
            0.75h
             

            Error confirmation and jIRA Updates

          prasadp Prasad Pise (Inactive) made changes -
          Remaining Estimate 1.65h [ 5940 ] 0.9h [ 3240 ]
          Time Spent 8.35h [ 30060 ] 9.1h [ 32760 ]
          Worklog Id 19064 [ 19064 ]
          satyap Satya made changes -
          Module Parent values: BenAdmin(10100) Parent values: BenAdmin(10100)Level 1 values: EDS(10108)
          sheetal.bodhale Sheetal Bodhale (Inactive) made changes -
          Item State Parent values: Stage QA(10202)Level 1 values: Re-open(10216) Parent values: Development(10200)Level 1 values: On Hold(10207)
          Hide
          sheetal.bodhale Sheetal Bodhale (Inactive) added a comment -

          We will plan this as per bandwidth.
          CC:Gaurav SodaniSatya

          Thanks,
          Sheetal B.

          Show
          sheetal.bodhale Sheetal Bodhale (Inactive) added a comment - We will plan this as per bandwidth. CC: Gaurav Sodani Satya Thanks, Sheetal B.
          gaurav.sodani Gaurav Sodani (Inactive) made changes -
          Status Reopen in Stage [ 10023 ] In Development [ 10007 ]
          gaurav.sodani Gaurav Sodani (Inactive) made changes -
          Assignee Sheetal Bodhale [ sheetal.bodhale ] Swapnil Pandhare [ swapnil.pandhare ]
          rakeshr Rakesh Roy (Inactive) made changes -
          Bug Severity Low [ 16703 ]
          sheetal.bodhale Sheetal Bodhale (Inactive) made changes -
          Labels Company_configuration
          satyap Satya made changes -
          Environment_New Stage [ 18443 ]
          swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
          Assignee Swapnil Pandhare [ swapnil.pandhare ]
          Transition Time In Source Status Execution Times
          Sheetal Bodhale (Inactive) made transition -
          Open In Development
          24d 22h 38m 1
          Prasad Pise (Inactive) made transition -
          In Development In LB Testing
          7d 23h 24m 1
          Rakesh Roy (Inactive) made transition -
          In LB Testing Stage Testing
          2d 4h 3m 1
          Prasad Pise (Inactive) made transition -
          Stage Testing Reopened in Stage
          17h 32m 1
          Gaurav Sodani (Inactive) made transition -
          Reopened in Stage In Development
          222d 4h 27m 1

            People

            Assignee:
            Unassigned
            Reporter:
            rashmita.dudhe Rashmita Dudhe (Inactive)
            Developer:
            Sheetal Bodhale (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 10h
                10h
                Remaining:
                Time Spent - 9.1h Remaining Estimate - 0.9h
                0.9h
                Logged:
                Time Spent - 9.1h Remaining Estimate - 0.9h
                9.1h