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

TSR Integration>Regression>Update Employee>After updating tour id success message is displaying.

    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

      1] Add employee through API, while adding assigned tour id = 12
      2] Now update employee with "PUT" request and mentioned tour id = 13
      3] Observe the response message it is
      {
      "status": "Success",
      "company": "13008",
      "employeeID": "E5346",
      "jobID": "101595",
      "tourID": 13,
      "description": "Employee record updated successfully"
      }

      Actual Result:
      Respective tour is not get assigned to employee but the response message is misleading.
      Expected Result:
      We need to change the response message.

        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) made changes -
            Item State Parent values: Development(10200)Level 1 values: In Progress(10206)
            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 Review(10208)
            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 -
            Code Review Date 01/Aug/2017
            Code Reviewed By Ramya Tantry [ 13001 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Attachment NF-4005.png [ 57265 ]
            Hide
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - - edited

            Hi Kunal Kedari,

            We are not assigning tour when employee information is updated.
            So when No combination present for candidate,job and tourid following message is shown

            CC : Saurabh Sablaka Ramya Tantry

            Show
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - - edited Hi Kunal Kedari , We are not assigning tour when employee information is updated. So when No combination present for candidate,job and tourid following message is shown CC : Saurabh Sablaka Ramya Tantry
            Hide
            seema.gaikwad Seema Gaikwad (Inactive) added a comment -

            Modified file
            1.Database Objects\MasterCompanyDB\02_UDFs\dbo.OES_UDF_ValidateEmployeeTourRecord.sql

            Concern: Update Employee>After updating tour id success message is displaying.
            Cause: Tourid is removed from employee source table
            Correction: UDF is modified to check for candidate, jobid and tourid combination when employee information is updated.

            Show
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - Modified file 1.Database Objects\MasterCompanyDB\02_UDFs\dbo.OES_UDF_ValidateEmployeeTourRecord.sql Concern: Update Employee>After updating tour id success message is displaying. Cause: Tourid is removed from employee source table Correction: UDF is modified to check for candidate, jobid and tourid combination when employee information is updated.
            seema.gaikwad Seema Gaikwad (Inactive) logged work - 01/Aug/17 05:23 AM
            • Time Spent:
              1h
               

              UDF modification and unit testing

            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 4h [ 14400 ]
            Original Estimate 4h [ 14400 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 4h [ 14400 ] 3h [ 10800 ]
            Time Spent 1h [ 3600 ]
            Worklog Id 68550 [ 68550 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Assignee Seema Gaikwad [ seema.gaikwad ] Kunal Kedari [ kunal.kedari ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Attachment image-2017-07-31-17-42-54-585.png [ 57234 ]
            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)
            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)
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Verified the fix on Local, now updating employee with tour id, below response is displaying:

            {
            "status": "Error",
            "message": "Invalid parameter value",
            "errorLevel": "Error",
            "code": 400,
            "description": "No record found to update for supplied Candidate, JobId and Tour combination"
            }

            We can deploy fix to Stage.

            cc: Prasad Pise, Saurabh Sablaka

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Verified the fix on Local, now updating employee with tour id, below response is displaying: { "status": "Error", "message": "Invalid parameter value", "errorLevel": "Error", "code": 400, "description": "No record found to update for supplied Candidate, JobId and Tour combination" } We can deploy fix to Stage. cc: Prasad Pise , Saurabh Sablaka
            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 In Development [ 10007 ] Local Testing [ 10200 ]
            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)
            ashwin.wankhede Ashwin Wankhede (Inactive) made changes -
            Item State Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602) 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)
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            We have verified the fix on Local (wt-stage), now below message is displaying after trying to update tourid, we can deploy fix to Stage.

            {
            "status": "Error",
            "message": "Invalid parameter value",
            "errorLevel": "Error",
            "code": 400,
            "description": "No record found to update for supplied Candidate, JobId and Tour combination"
            }

            Cc: Saurabh Sablaka, Prasad Pise

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - We have verified the fix on Local (wt-stage), now below message is displaying after trying to update tourid, we can deploy fix to Stage. { "status": "Error", "message": "Invalid parameter value", "errorLevel": "Error", "code": 400, "description": "No record found to update for supplied Candidate, JobId and Tour combination" } Cc: Saurabh Sablaka , Prasad Pise
            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)
            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 -
            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 on Stage, working as expected. We can deploy it to Production.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Verified fix on Stage, working as expected. We can deploy it to Production.
            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 -
            Production Due Date 17/Aug/2017
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Status Local Testing [ 10200 ] Stage Testing [ 10201 ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Production Due Date 17/Aug/2017 24/Aug/2017
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Stage Due Date 9/Aug/17 [ 2017-08-09 ]
            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
            1h 22m 1
            Kunal Kedari (Inactive) made transition -
            In Development In LB Testing
            21h 16m 1
            Kunal Kedari (Inactive) made transition -
            In LB Testing Stage Testing
            8d 18h 2m 1
            Sachin Hingole (Inactive) made transition -
            Stage Testing Resolution Setting
            258d 22h 4m 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 - 4h
                  4h
                  Remaining:
                  Time Spent - 1h Remaining Estimate - 3h
                  3h
                  Logged:
                  Time Spent - 1h Remaining Estimate - 3h
                  1h