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

TSR Integration>Regression>Issues about Payroll Schedule

    Details

    • Type: Bug
    • Status: Resolution Setting
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Integrations
    • Labels:
      None
    • Environment:
      Stage
    • Bug Type:
      Functional
    • Bug Severity:
      Medium
    • Level:
      Admin
    • Module:
      TSR
    • Reported by:
      Harbinger
    • Item State:
      Stage QA - Production Deployment on Hold
    • Issue Importance:
      Q2

      Description

      Env - Stage
      Company - TSR Onboard

      *Scenario 1] *
      1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
      2] Try to add employee with below parameter
      "AssignDefaultPayrollSchedule":false,
      "payrollSchedule":"Monthly"
      3] Below error response is display, but employee is get added to WT:
      {
      "status": "Error",
      "message": "Add Employee record failed",
      "errorLevel": "Error",
      "code": 500,
      "description": "Error occured while assigning payroll schedule to employee, please contact system administrator."
      }
      4] When admin login to Workterra and click on respective employee name from search employee, server error is displaying:

      *Scenario 2] *
      1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
      2] Try to add employee with below parameter: (do not pass AssignDefaultPayrollSchedule paramter)
      "payrollSchedule":"Monthly"
      3] Employee get added successfully, but the payroll schedule of this employee is Biweekly.

      *Scenario 3] *
      1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
      2] Try to add update any existing employee with below details:
      "AssignDefaultPayrollSchedule":false,
      "payrollSchedule":"Monthly"

      Actual Result:
      Below error is displaying: (Refer screenshot - Scenario1)
      {
      "status": "InternalServerError",
      "message": "Object reference not set to an instance of an object.",
      "errorLevel": "Error",
      "code": 500,
      "description": "Error occured while processing HTTP request."
      }

      Cc: Saurabh Sablaka, Prasad Pise

        Attachments

        1. Scenario1.jpg
          Scenario1.jpg
          166 kB
        2. Scenario2.jpg
          Scenario2.jpg
          144 kB

          Issue Links

            Activity

            kunal.kedari Kunal Kedari (Inactive) created issue -
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Development [ 10007 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Item State Parent values: Development(10200)Level 1 values: In Analysis(10204)
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Description Env - Stage
            Company - TSR Onboard

            Scenario 1]
            1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
            2] Try to add employee to Workterra with below details:
              "AssignDefaultPayrollSchedule":false,
            "payrollSchedule":"Monthly",

            *Actual Result:*
            Below error is displaying: (Refer screenshot - Scenario1)
            {
                "status": "InternalServerError",
                "message": "Object reference not set to an instance of an object.",
                "errorLevel": "Error",
                "code": 500,
                "description": "Error occured while processing HTTP request."
            }

            Scenario 2]
            1] Suppose employee is already added to Workterra with payrollschedule - Bi Weekly (default)
            2] Update the payrollschedule for this employee with Monthly.
            *Actual Result:*:
            Success message is displaying, but there is no update in the payrollschedule as Monthly payroll is not exists in Workterra. (Refer screenshot - Scenario2)

            Cc: [~saurabh.sablaka], [~prasadp]
            Env - Stage
            Company - TSR Onboard

            Scenario 1]
            1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
            2] Try to add employee with below parameter
                "AssignDefaultPayrollSchedule":false,
                 "payrollSchedule":"Monthly"
            3] Below error response is display, but employee is get added to WT:
               {
                "status": "Error",
                "message": "Add Employee record failed",
                "errorLevel": "Error",
                "code": 500,
                "description": "Error occured while assigning payroll schedule to employee, please contact system administrator."
            }
            4] When admin login to Workterra and click on respective employee name from search employee, server error is displaying:



            Scenario 2]
            1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
            2] Try to add employee with below parameter: (do not pass AssignDefaultPayrollSchedule paramter)
                 "payrollSchedule":"Monthly"
            3] Employee get added successfully, but the payroll schedule of this employee is Biweekly.


            Scenario 3]
            1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
            2] Try to add update any existing employee with below details:
            "AssignDefaultPayrollSchedule":false,
            "payrollSchedule":"Monthly"

            *Actual Result:*
            Below error is displaying: (Refer screenshot - Scenario1)
            {
                "status": "InternalServerError",
                "message": "Object reference not set to an instance of an object.",
                "errorLevel": "Error",
                "code": 500,
                "description": "Error occured while processing HTTP request."
            }


            Cc: [~saurabh.sablaka], [~prasadp]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Description Env - Stage
            Company - TSR Onboard

            Scenario 1]
            1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
            2] Try to add employee with below parameter
                "AssignDefaultPayrollSchedule":false,
                 "payrollSchedule":"Monthly"
            3] Below error response is display, but employee is get added to WT:
               {
                "status": "Error",
                "message": "Add Employee record failed",
                "errorLevel": "Error",
                "code": 500,
                "description": "Error occured while assigning payroll schedule to employee, please contact system administrator."
            }
            4] When admin login to Workterra and click on respective employee name from search employee, server error is displaying:



            Scenario 2]
            1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
            2] Try to add employee with below parameter: (do not pass AssignDefaultPayrollSchedule paramter)
                 "payrollSchedule":"Monthly"
            3] Employee get added successfully, but the payroll schedule of this employee is Biweekly.


            Scenario 3]
            1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
            2] Try to add update any existing employee with below details:
            "AssignDefaultPayrollSchedule":false,
            "payrollSchedule":"Monthly"

            *Actual Result:*
            Below error is displaying: (Refer screenshot - Scenario1)
            {
                "status": "InternalServerError",
                "message": "Object reference not set to an instance of an object.",
                "errorLevel": "Error",
                "code": 500,
                "description": "Error occured while processing HTTP request."
            }


            Cc: [~saurabh.sablaka], [~prasadp]
            Env - Stage
            Company - TSR Onboard

            *Scenario 1] *
            1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
            2] Try to add employee with below parameter
                "AssignDefaultPayrollSchedule":false,
                 "payrollSchedule":"Monthly"
            3] Below error response is display, but employee is get added to WT:
               {
                "status": "Error",
                "message": "Add Employee record failed",
                "errorLevel": "Error",
                "code": 500,
                "description": "Error occured while assigning payroll schedule to employee, please contact system administrator."
            }
            4] When admin login to Workterra and click on respective employee name from search employee, server error is displaying:



            *Scenario 2] *
            1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
            2] Try to add employee with below parameter: (do not pass AssignDefaultPayrollSchedule paramter)
                 "payrollSchedule":"Monthly"
            3] Employee get added successfully, but the payroll schedule of this employee is Biweekly.


            *Scenario 3] *
            1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
            2] Try to add update any existing employee with below details:
            "AssignDefaultPayrollSchedule":false,
            "payrollSchedule":"Monthly"

            *Actual Result:*
            Below error is displaying: (Refer screenshot - Scenario1)
            {
                "status": "InternalServerError",
                "message": "Object reference not set to an instance of an object.",
                "errorLevel": "Error",
                "code": 500,
                "description": "Error occured while processing HTTP request."
            }


            Cc: [~saurabh.sablaka], [~prasadp]
            seema.gaikwad Seema Gaikwad (Inactive) logged work - 04/Aug/17 01:38 PM
            • Time Spent:
              0.5h
               

              Issue debugging

            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 8h [ 28800 ]
            Original Estimate 8h [ 28800 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 8h [ 28800 ] 7.5h [ 27000 ]
            Time Spent 0.5h [ 1800 ]
            Worklog Id 69593 [ 69593 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Item State Parent values: Development(10200)Level 1 values: In Analysis(10204) Parent values: Development(10200)Level 1 values: In Progress(10206)
            seema.gaikwad Seema Gaikwad (Inactive) logged work - 07/Aug/17 12:32 PM - edited
            • Time Spent:
              3.5h
               

              Discussion with kunal and ramya
              Implementation in progress
              Unit testing in progress

            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 7.5h [ 27000 ] 5h [ 18000 ]
            Time Spent 0.5h [ 1800 ] 3h [ 10800 ]
            Worklog Id 69745 [ 69745 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 5h [ 18000 ] 4h [ 14400 ]
            Time Spent 3h [ 10800 ] 4h [ 14400 ]
            Worklog Id 69745 [ 69745 ]
            Hide
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - - edited

            Hi Kunal Kedari,

            For Scenario1 and Scenario3
            -Following message is display if payrollschedule is not valid and AssignDefaultPayrollSchedule = false.
            {
            "status": "Error",
            "message": "Invalid Payroll Schedule",
            "errorLevel": "Error",
            "code": 400,
            "description": "Parameter value supplied for PayrollSchedule does not exist"
            }

            Scenario2
            1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
            2] Try to add employee with below parameter: (do not pass AssignDefaultPayrollSchedule paramter)
            "payrollSchedule":"Monthly"
            3] Employee get added successfully, but the payroll schedule of this employee is Biweekly.

            This is not a valid senario so no changes done for this.
            Cause when we want to assign payroll schedule other than default then we have to pass AssignDefaultPayrollSchedule paramter = false.Other wise by default AssignDefaultPayrollSchedule paramter is true so default payroll schedule is assigned to employee.

            CC : Saurabh Sablaka Ramya Tantry

            Show
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - - edited Hi Kunal Kedari , For Scenario1 and Scenario3 -Following message is display if payrollschedule is not valid and AssignDefaultPayrollSchedule = false. { "status": "Error", "message": "Invalid Payroll Schedule", "errorLevel": "Error", "code": 400, "description": "Parameter value supplied for PayrollSchedule does not exist" } Scenario2 1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default) 2] Try to add employee with below parameter: (do not pass AssignDefaultPayrollSchedule paramter) "payrollSchedule":"Monthly" 3] Employee get added successfully, but the payroll schedule of this employee is Biweekly. This is not a valid senario so no changes done for this. Cause when we want to assign payroll schedule other than default then we have to pass AssignDefaultPayrollSchedule paramter = false.Other wise by default AssignDefaultPayrollSchedule paramter is true so default payroll schedule is assigned to employee. CC : Saurabh Sablaka Ramya Tantry
            seema.gaikwad Seema Gaikwad (Inactive) logged work - 08/Aug/17 05:33 AM - edited
            • Time Spent:
              1.5h
               

              Discussion with Saurabh and Ramya about different scenarios.
              Unit testing
              Checkins

            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Item State Parent values: Development(10200)Level 1 values: In Progress(10206) Parent values: Development(10200)Level 1 values: Ready for Local Testing(10209)
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Code Review Date 07/Aug/2017
            Code Reviewed By Ramya Tantry [ 13001 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 4h [ 14400 ] 3.5h [ 12600 ]
            Time Spent 4h [ 14400 ] 4.5h [ 16200 ]
            Worklog Id 69863 [ 69863 ]
            Hide
            seema.gaikwad Seema Gaikwad (Inactive) added a comment -

            Modified Files
            App\BusinessLogic\WORKTERRA\EmployeeProfileView.cs

            Concern: TSR Integration>Regression>Issues about Payroll Schedule
            Cause: No validation for Payroll schedule
            Correction: Add validation for payroll schedule

            Show
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - Modified Files App\BusinessLogic\WORKTERRA\EmployeeProfileView.cs Concern: TSR Integration>Regression>Issues about Payroll Schedule Cause: No validation for Payroll schedule Correction: Add validation for payroll schedule
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Assignee Seema Gaikwad [ seema.gaikwad ] Kunal Kedari [ kunal.kedari ]
            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)
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 3.5h [ 12600 ] 3h [ 10800 ]
            Time Spent 4.5h [ 16200 ] 5h [ 18000 ]
            Worklog Id 69863 [ 69863 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 3h [ 10800 ] 2.5h [ 9000 ]
            Time Spent 5h [ 18000 ] 5.5h [ 19800 ]
            Worklog Id 69863 [ 69863 ]
            saurabh.sablaka Saurabh Sablaka (Inactive) made changes -
            Status In Development [ 10007 ] Local Testing [ 10200 ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: LB Deployed(11600) Parent values: LB QA(10201)Level 1 values: In Testing(10210)
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Production Due Date 17/Aug/2017
            Stage Due Date 14/Aug/17 [ 2017-08-14 ]
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Verified fix for scenario 1 and 3 on Local (wt-stage)

            After fix following message is displaying if payrollschedule is not valid and AssignDefaultPayrollSchedule = false.
            {
            "status": "Error",
            "message": "Invalid Payroll Schedule",
            "errorLevel": "Error",
            "code": 400,
            "description": "Parameter value supplied for PayrollSchedule does not exist"
            }

            We can deploy fix to Stage.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Verified fix for scenario 1 and 3 on Local (wt-stage) After fix following message is displaying if payrollschedule is not valid and AssignDefaultPayrollSchedule = false. { "status": "Error", "message": "Invalid Payroll Schedule", "errorLevel": "Error", "code": 400, "description": "Parameter value supplied for PayrollSchedule does not exist" } We can deploy fix to Stage.
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: In Testing(10210) Parent values: LB QA(10201)Level 1 values: Ready for Stage(10213)
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Status Local Testing [ 10200 ] Stage Testing [ 10201 ]
            saurabh.sablaka Saurabh Sablaka (Inactive) made changes -
            Developer Seema Gaikwad [ seema.gaikwad ]
            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)
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Link This issue relates to NF-3998 [ NF-3998 ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Item State Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602) Parent values: Stage QA(10202)Level 1 values: In Testing(10214)
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Verified fix for scenario 1 and 3 on Stage:

            Following message is displaying if payrollschedule doe not exists and AssignDefaultPayrollSchedule = false.

            { "status": "Error", "message": "Invalid Payroll Schedule", "errorLevel": "Error", "code": 400, "description": "Parameter value supplied for PayrollSchedule does not exist" }

            We will be deploying this fix to Production with other TSR changes , so marking it as "Production Deployment On Hold"

            Cc: Saurabh Sablaka, Prasad Pise

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Verified fix for scenario 1 and 3 on Stage: Following message is displaying if payrollschedule doe not exists and AssignDefaultPayrollSchedule = false. { "status": "Error", "message": "Invalid Payroll Schedule", "errorLevel": "Error", "code": 400, "description": "Parameter value supplied for PayrollSchedule does not exist" } We will be deploying this fix to Production with other TSR changes , so marking it as "Production Deployment On Hold" Cc: Saurabh Sablaka , Prasad Pise
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Production Due Date 17/Aug/2017 24/Aug/2017
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Item State Parent values: Stage QA(10202)Level 1 values: In Testing(10214) Parent values: Stage QA(10202)Level 1 values: Production Deployment on Hold(10224)
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Business decided to stop all the work related to TSR.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Business decided to stop all the work related to TSR.
            satyap Satya made changes -
            Environment_New Stage [ 18443 ]
            sachin.hingole Sachin Hingole (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Stage Testing [ 10201 ] Resolution Setting [ 11616 ]
            Transition Time In Source Status Execution Times
            Seema Gaikwad (Inactive) made transition -
            Open In Development
            2h 12m 1
            Saurabh Sablaka (Inactive) made transition -
            In Development In LB Testing
            4d 23h 50m 1
            Kunal Kedari (Inactive) made transition -
            In LB Testing Stage Testing
            7d 3h 56m 1
            Sachin Hingole (Inactive) made transition -
            Stage Testing Resolution Setting
            252d 16h 10m 1

              People

              Assignee:
              kunal.kedari Kunal Kedari (Inactive)
              Reporter:
              kunal.kedari Kunal Kedari (Inactive)
              Developer:
              Seema Gaikwad (Inactive)
              QA:
              Kunal Kedari (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Pre-Prod Due Date:
                Production Due Date:
                Code Review Date:

                  Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Time Spent - 5.5h Remaining Estimate - 2.5h
                  2.5h
                  Logged:
                  Time Spent - 5.5h Remaining Estimate - 2.5h
                  5.5h