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

TSR Integration>Regression>HoursPerWeek should not be get rounded while adding employee to WorkTerra

    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] Add employee to WT through API, while adding mentioned HoursPerWeek as 40.5
      2] Observe the HoursPerWeek on Demographics page. it is getting rounded to nearest value.
      Expected Result:
      Value should not be get rounded.

      Scenario 2
      1] Wehn HousrPerWeek passed as blank:
      "HoursPerWeek" : " "
      2] Below message is displaying:
      {
      "status": "Error",
      "message": "Bad parameters",
      "errorLevel": "Information",
      "code": 400,
      "description": ""
      }
      3] Please correct the message so user come to know exactly what went wrong.

      Cc: Saurabh Sablaka, Prasad Pise

        Attachments

          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) logged work - 04/Aug/17 01:20 PM
            • Time Spent:
              3h
               

              Issue debugging.
              Fixed issue
              Unit testing

            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Item State Parent values: Development(10200)Level 1 values: Ready for Review(10208)
            Remaining Estimate 6h [ 21600 ]
            Original Estimate 6h [ 21600 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 6h [ 21600 ] 3h [ 10800 ]
            Time Spent 3h [ 10800 ]
            Worklog Id 69583 [ 69583 ]
            Hide
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - - edited

            Hi Kunal Kedari,

            Scenario2 is not valid

            Show
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - - edited Hi Kunal Kedari , Scenario2 is not valid
            Hide
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - - edited

            Concern: HoursPerWeek should not be get rounded while adding employee to WorkTerra
            Cause: HoursPerWeek parameter of 'dbo.OES_SP_InsertEmployeeDetailsFromAPI' and dbo.OES_SP_Update_EmployeeDetailsFromAPI is given as int
            Correction: HoursPerWeek parameter of 'dbo.OES_SP_InsertEmployeeDetailsFromAPI' and 'dbo.OES_SP_Update_EmployeeDetailsFromAPI' is given as Decimal

            CC :Saurabh Sablaka Ramya Tantry

            Show
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - - edited Concern: HoursPerWeek should not be get rounded while adding employee to WorkTerra Cause: HoursPerWeek parameter of 'dbo.OES_SP_InsertEmployeeDetailsFromAPI' and dbo.OES_SP_Update_EmployeeDetailsFromAPI is given as int Correction: HoursPerWeek parameter of 'dbo.OES_SP_InsertEmployeeDetailsFromAPI' and 'dbo.OES_SP_Update_EmployeeDetailsFromAPI' is given as Decimal CC : Saurabh Sablaka Ramya Tantry
            Hide
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - - edited

            Modified files

            1.Database Objects\MasterCompanyDB\04_Stored Procedures\dbo.OES_SP_InsertEmployeeDetailsFromAPI.sql
            2.Database Objects\MasterCompanyDB\04_Stored Procedures\dbo.OES_SP_Update_EmployeeDetailsFromAPI.sql
            3.Shared Library\ValueObjects\ValueObjects\WORKTERRA\EmployeeTours.cs

            Show
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - - edited Modified files 1.Database Objects\MasterCompanyDB\04_Stored Procedures\dbo.OES_SP_InsertEmployeeDetailsFromAPI.sql 2.Database Objects\MasterCompanyDB\04_Stored Procedures\dbo.OES_SP_Update_EmployeeDetailsFromAPI.sql 3.Shared Library\ValueObjects\ValueObjects\WORKTERRA\EmployeeTours.cs
            ramya.tantry Ramya Tantry (Inactive) logged work - 07/Aug/17 05:30 AM
            • Time Spent:
              0.25h
               

              Code review and discussion

            ramya.tantry Ramya Tantry (Inactive) made changes -
            Remaining Estimate 3h [ 10800 ] 2.75h [ 9900 ]
            Time Spent 3h [ 10800 ] 3.25h [ 11700 ]
            Worklog Id 69629 [ 69629 ]
            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 -
            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)
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Description Env - Stage
            Company - TSR Onboard

            *Scenario 1*
            1] Add employee to WT through API, while adding mentioned HoursPerWeek as 40.5
            2] Observe the HoursPerWeek on Demographics page. it is getting rounded to nearest value.
            Expected Result:
            Value should not be get rounded.

            *Scenario 2 *
            1] Wehn HousrPerWeek passed as blank:
            "HoursPerWeek" : " "
            2] Below message is displaying:
            {
                "status": "Error",
                "message": "Bad parameters",
                "errorLevel": "Information",
                "code": 400,
                "description": ""
            }
            3] Please correct the message so user come to know exactly what went wrong.

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

            *Scenario 1*
            1] Add employee to WT through API, while adding mentioned HoursPerWeek as 40.5
            2] Observe the HoursPerWeek on Demographics page. it is getting rounded to nearest value.
            Expected Result:
            Value should not be get rounded.

            *Scenario 2*
            1] Wehn HousrPerWeek passed as blank:
            "HoursPerWeek" : " "
            2] Below message is displaying:
            {
                "status": "Error",
                "message": "Bad parameters",
                "errorLevel": "Information",
                "code": 400,
                "description": ""
            }
            3] Please correct the message so user come to know exactly what went wrong.

            Cc: [~saurabh.sablaka], [~prasadp]
            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 -
            Item State Parent values: LB QA(10201)Level 1 values: LB Deployed(11600) Parent values: Development(10200)Level 1 values: Ready for Local Testing(10209)
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Assignee Kunal Kedari [ kunal.kedari ] Seema Gaikwad [ seema.gaikwad ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Assignee Seema Gaikwad [ seema.gaikwad ] Kunal Kedari [ kunal.kedari ]
            seema.gaikwad Seema Gaikwad (Inactive) logged work - 08/Aug/17 11:44 AM - edited
            • Time Spent:
              3h
               

              Discussion with Kunal and Ramya
              Implementation and unit testing for Update employee
              Implementation and unit testing for Add employee

            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 2.75h [ 9900 ] 1.25h [ 4500 ]
            Time Spent 3.25h [ 11700 ] 4.75h [ 17100 ]
            Worklog Id 70060 [ 70060 ]
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            We have verified the fix on Local (wt-stage), fix is not proper still values get rounded. We need to fix this for Post and Put.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - We have verified the fix on Local (wt-stage), fix is not proper still values get rounded. We need to fix this for Post and Put.
            kunal.kedari Kunal Kedari (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: Re-open(10212)
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Assignee Kunal Kedari [ kunal.kedari ] Seema Gaikwad [ seema.gaikwad ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Status In Development [ 10007 ] Local Testing [ 10200 ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Status Local Testing [ 10200 ] Reopen in Local [ 10018 ]
            ramya.tantry Ramya Tantry (Inactive) logged work - 08/Aug/17 12:44 PM
            • Time Spent:
              0.5h
               

              Analysis and Discussion with Seema

            ramya.tantry Ramya Tantry (Inactive) made changes -
            Remaining Estimate 1.25h [ 4500 ] 0.75h [ 2700 ]
            Time Spent 4.75h [ 17100 ] 5.25h [ 18900 ]
            Worklog Id 70103 [ 70103 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 0.75h [ 2700 ] 0h [ 0 ]
            Time Spent 5.25h [ 18900 ] 6.75h [ 24300 ]
            Worklog Id 70060 [ 70060 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: Re-open(10212) Parent values: Development(10200)Level 1 values: Ready for Local Testing(10209)
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Status Reopen in Local [ 10018 ] In Development [ 10007 ]
            Hide
            seema.gaikwad Seema Gaikwad (Inactive) added a comment -

            Hi Kunal Kedari,

            We have fixed this for both add and update employee now.

            Show
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - Hi Kunal Kedari , We have fixed this for both add and update employee now.
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Assignee Seema Gaikwad [ seema.gaikwad ] Kunal Kedari [ kunal.kedari ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Time Spent 6.75h [ 24300 ] 7.25h [ 26100 ]
            Worklog Id 70060 [ 70060 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 0h [ 0 ] 0.5h [ 1800 ]
            Time Spent 7.25h [ 26100 ] 6.75h [ 24300 ]
            Worklog Id 70060 [ 70060 ]
            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)
            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 on LB, working as expected . We can deploy fix to stage.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Verified fix on LB, working as expected . 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)
            ashwin.wankhede Ashwin Wankhede (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: Ready for Stage(10213) Parent values: LB QA(10201)Level 1 values: LB Deployed(11600)
            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 -
            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)
            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 -
            Item State Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602) Parent values: Stage QA(10202)Level 1 values: In Testing(10214)
            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)
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Status Local Testing [ 10200 ] Stage Testing [ 10201 ]
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Verified fix on Stage, working as expected . We can deploy fix to production.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Verified fix on Stage, working as expected . We can deploy fix to production.
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Link This issue relates to NF-3998 [ NF-3998 ]
            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
            4h 23m 1
            Kunal Kedari (Inactive) made transition -
            In LB Testing Reopen in Local
            3s 1
            Seema Gaikwad (Inactive) made transition -
            Reopen in Local In Development
            57m 33s 1
            Saurabh Sablaka (Inactive) made transition -
            In Development In LB Testing
            4d 16h 49m 2
            Kunal Kedari (Inactive) made transition -
            In LB Testing Stage Testing
            6d 22h 25m 1
            Sachin Hingole (Inactive) made transition -
            Stage Testing Resolution Setting
            252d 21h 42m 1

              People

              Assignee:
              kunal.kedari Kunal Kedari (Inactive)
              Reporter:
              kunal.kedari Kunal Kedari (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 - 6h Original Estimate - 6h
                  6h
                  Remaining:
                  Time Spent - 6.75h Remaining Estimate - 0.5h
                  0.5h
                  Logged:
                  Time Spent - 6.75h Remaining Estimate - 0.5h
                  6.75h