-
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
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."
}
- relates to
-
NF-3998 Regression testing for TSR Integration with Old UI on Stage
-
- Closed
-
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Development [ 10007 ] |
Item State | Parent values: Development(10200)Level 1 values: In Analysis(10204) |
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] |
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] |
Remaining Estimate | 8h [ 28800 ] | |
Original Estimate | 8h [ 28800 ] |
Remaining Estimate | 8h [ 28800 ] | 7.5h [ 27000 ] |
Time Spent | 0.5h [ 1800 ] | |
Worklog Id | 69593 [ 69593 ] |
Item State | Parent values: Development(10200)Level 1 values: In Analysis(10204) | Parent values: Development(10200)Level 1 values: In Progress(10206) |
-
- Time Spent:
- 3.5h
-
Discussion with kunal and ramya
Implementation in progress
Unit testing in progress
Remaining Estimate | 7.5h [ 27000 ] | 5h [ 18000 ] |
Time Spent | 0.5h [ 1800 ] | 3h [ 10800 ] |
Worklog Id | 69745 [ 69745 ] |
Remaining Estimate | 5h [ 18000 ] | 4h [ 14400 ] |
Time Spent | 3h [ 10800 ] | 4h [ 14400 ] |
Worklog Id | 69745 [ 69745 ] |
-
- Time Spent:
- 1.5h
-
Discussion with Saurabh and Ramya about different scenarios.
Unit testing
Checkins
Item State | Parent values: Development(10200)Level 1 values: In Progress(10206) | Parent values: Development(10200)Level 1 values: Ready for Local Testing(10209) |
Code Review Date | 07/Aug/2017 | |
Code Reviewed By | Ramya Tantry [ 13001 ] |
Remaining Estimate | 4h [ 14400 ] | 3.5h [ 12600 ] |
Time Spent | 4h [ 14400 ] | 4.5h [ 16200 ] |
Worklog Id | 69863 [ 69863 ] |
Assignee | Seema Gaikwad [ seema.gaikwad ] | Kunal Kedari [ kunal.kedari ] |
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) |
Remaining Estimate | 3.5h [ 12600 ] | 3h [ 10800 ] |
Time Spent | 4.5h [ 16200 ] | 5h [ 18000 ] |
Worklog Id | 69863 [ 69863 ] |
Remaining Estimate | 3h [ 10800 ] | 2.5h [ 9000 ] |
Time Spent | 5h [ 18000 ] | 5.5h [ 19800 ] |
Worklog Id | 69863 [ 69863 ] |
Status | In Development [ 10007 ] | Local Testing [ 10200 ] |
Item State | Parent values: LB QA(10201)Level 1 values: LB Deployed(11600) | Parent values: LB QA(10201)Level 1 values: In Testing(10210) |
Production Due Date | 17/Aug/2017 | |
Stage Due Date | 14/Aug/17 [ 2017-08-14 ] |
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) |
Status | Local Testing [ 10200 ] | Stage Testing [ 10201 ] |
Developer | Seema Gaikwad [ seema.gaikwad ] |
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) |
Item State | Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602) | Parent values: Stage QA(10202)Level 1 values: In Testing(10214) |
Production Due Date | 17/Aug/2017 | 24/Aug/2017 |
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) |
Environment_New | Stage [ 18443 ] |
Resolution | Done [ 10000 ] | |
Status | Stage Testing [ 10201 ] | Resolution Setting [ 11616 ] |
Transition | Time In Source Status | Execution Times |
---|
|
2h 12m | 1 |
|
4d 23h 50m | 1 |
|
7d 3h 56m | 1 |
|
252d 16h 10m | 1 |
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