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

TSR Integration->Add Employee->Issues related to Country and States.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Integrations
    • Labels:
      None
    • Module:
      TSR
    • Reported by:
      Harbinger
    • Item State:
      Production Complete - Closed
    • Issue Importance:
      Q1

      Description

      1. Launch the Postman app.
      2. Select “Post” request from dropdwon.
      3. Select authorization type as “Basic Auth”.
      4. Enter valid User ID and Password.
      5. Enter below URL:
      http://10.0.2.120/api/employee/addEmployeeTour
      6. Pass the require parameter using body.

      *Scenario 1] *
      API input is not accepting any special characters in State. (e.g. enter state as Uttar Pradesh, Taegu-Jikhalsi ) showing below validation message:
      "Parameter state can contain alphabets only"

      Scenario 2]
      It seems that when entered state value exceed beyond certain characters, then in DB StateID is get stored as 0 (e.g. select country India and State as Maharashtra, Chhattisgarh)

      Scenario 3]
      Can we re frame below description:
      {
      "status": "Error",
      "message": "Invalid Input",
      "errorLevel": "Error",
      "code": 403,
      "description": "Entered Address Either Country or State is not valid"
      }

      It should be - "Entered Country or State is not valid"

      Cc: Saurabh Sablaka, Prasad Pise

        Attachments

          Issue Links

            Activity

            kunal.kedari Kunal Kedari (Inactive) created issue -
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Field Original Value New Value
            Link This issue relates to NF-180 [ NF-180 ]
            saurabh.sablaka Saurabh Sablaka (Inactive) made changes -
            Status Open [ 1 ] In Development [ 10007 ]
            Hide
            rupesh.mandal Rupesh Mandal (Inactive) added a comment -

            Given all Scenario has been resolved we can take special characters in state like -,( etc
            error message also changed and
            state value allows maximum of 50 characters only

            Show
            rupesh.mandal Rupesh Mandal (Inactive) added a comment - Given all Scenario has been resolved we can take special characters in state like -,( etc error message also changed and state value allows maximum of 50 characters only
            rupesh.mandal Rupesh Mandal (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: LB Deployed(11600)
            rupesh.mandal Rupesh Mandal (Inactive) made changes -
            Assignee Rupesh Mandal [ rupesh.mandal ] Kunal Kedari [ kunal.kedari ]
            rupesh.mandal Rupesh Mandal (Inactive) made changes -
            Code Review Date 22/Mar/2017
            Code Reviewed By Saurabh Sablaka [ 11909 ]
            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: Re-open(10212)
            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 ]
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Hi Rupesh Mandal,

            We have verified the fix on Local (wt-stage), however scenario 2] is still not fixed on Local, hence reopening.

            Cc: Prasad Pise, Saurabh Sablaka

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Hi Rupesh Mandal , We have verified the fix on Local (wt-stage), however scenario 2] is still not fixed on Local, hence reopening. Cc: Prasad Pise , Saurabh Sablaka
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Assignee Kunal Kedari [ kunal.kedari ] Rupesh Mandal [ rupesh.mandal ]
            rupesh.mandal Rupesh Mandal (Inactive) made changes -
            Status Reopen in Local [ 10018 ] In Development [ 10007 ]
            rupesh.mandal Rupesh Mandal (Inactive) made changes -
            Code Review Date 22/Mar/2017 23/Mar/2017
            rupesh.mandal Rupesh Mandal (Inactive) made changes -
            Status In Development [ 10007 ] Local Testing [ 10200 ]
            rupesh.mandal Rupesh Mandal (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: Re-open(10212) Parent values: LB QA(10201)Level 1 values: LB Deployed(11600)
            Hide
            rupesh.mandal Rupesh Mandal (Inactive) added a comment -

            scenario 2 is solved now stateID is successfully saved for maximum of 50 characters

            Show
            rupesh.mandal Rupesh Mandal (Inactive) added a comment - scenario 2 is solved now stateID is successfully saved for maximum of 50 characters
            rupesh.mandal Rupesh Mandal (Inactive) made changes -
            Assignee Rupesh Mandal [ rupesh.mandal ] Kunal Kedari [ kunal.kedari ]
            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: In Testing(10210)
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Fix is verified on Local (wt-stage), now scenario 2] is working as expected.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Fix is verified on Local (wt-stage), now scenario 2] is working as expected.
            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)
            Hide
            prasadp Prasad Pise (Inactive) added a comment -

            Fix is verified on STAGE, All scenario working as expected.

            Show
            prasadp Prasad Pise (Inactive) added a comment - Fix is verified on STAGE, All scenario working as expected.
            prasadp Prasad Pise (Inactive) made changes -
            Status Local Testing [ 10200 ] Stage Testing [ 10201 ]
            prasadp Prasad Pise (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: Production Deployment on Hold(10224)
            prasadp Prasad Pise (Inactive) made changes -
            Item State Parent values: Stage QA(10202)Level 1 values: Production Deployment on Hold(10224) Parent values: Stage QA(10202)Level 1 values: Ready for Production(10217)
            saurabh.sablaka Saurabh Sablaka (Inactive) made changes -
            Item State Parent values: Stage QA(10202)Level 1 values: Ready for Production(10217) Parent values: Production QA(10203)Level 1 values: Production Deployed(10221)
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Item State Parent values: Production QA(10203)Level 1 values: Production Deployed(10221) Parent values: Production QA(10203)Level 1 values: In Testing(10218)
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Verified fix on Production environment, working as expected. Closing the issue.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Verified fix on Production environment, working as expected. Closing the issue.
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Item State Parent values: Production QA(10203)Level 1 values: In Testing(10218) Parent values: Production Complete(10222)Level 1 values: Closed(10223)
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Status Stage Testing [ 10201 ] Production Testing [ 10202 ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Resolution Fixed [ 1 ]
            Status Production Testing [ 10202 ] Production Complete [ 10028 ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Status Production Complete [ 10028 ] Closed [ 6 ]
            Transition Time In Source Status Execution Times
            Saurabh Sablaka (Inactive) made transition -
            Open In Development
            23h 10m 1
            Kunal Kedari (Inactive) made transition -
            In LB Testing Reopen in Local
            3s 1
            Rupesh Mandal (Inactive) made transition -
            Reopen in Local In Development
            18h 35m 1
            Rupesh Mandal (Inactive) made transition -
            In Development In LB Testing
            10h 2m 2
            Prasad Pise (Inactive) made transition -
            In LB Testing Stage Testing
            2d 4h 16m 1
            Kunal Kedari (Inactive) made transition -
            Stage Testing In Production Testing
            32d 22h 13m 1
            Kunal Kedari (Inactive) made transition -
            In Production Testing Production Complete
            6s 1
            Kunal Kedari (Inactive) made transition -
            Production Complete Closed
            2s 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:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Code Review Date: