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

TSR Integration->Add Employee->"An error has occurred" message is displaying while adding a employee.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • 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:
      URL= http://10.0.2.120/api/Employee/AddEmployee?company=12480
      6. Pass the require parameter using body.
      6. Click on Send button.
      7. Verify the message in JSON format.
      Actual Result:
      "message": "An error has occurred."

      Expected Result:
      Error should not be display.

      Note - Employee get added in DB, but when we search same employee from UI it is not get searched.
      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
            Description 1. Launch the Postman app.
            2. Select “Post” request from dropdwon.
            3. Select authorization type as “Basic Auth”.
            4. Enter invalid User ID and Password.
            5. Enter below URL:
            URL= http://10.0.2.120/api/Employee/AddEmployee?company=12480
            6. Pass the require parameter using body.
            6. Click on Send button.
            7. Verify the message in JSON format.
            Actual Result:
            "message": "An error has occurred."

            Expected Result:
            Error should not be display.

            Note - Employee get added in DB, but when we search same employee from UI
            Cc: [~saurabh.sablaka], [~prasadp]
            1. Launch the Postman app.
            2. Select “Post” request from dropdwon.
            3. Select authorization type as “Basic Auth”.
            4. Enter invalid User ID and Password.
            5. Enter below URL:
            URL= http://10.0.2.120/api/Employee/AddEmployee?company=12480
            6. Pass the require parameter using body.
            6. Click on Send button.
            7. Verify the message in JSON format.
            Actual Result:
            "message": "An error has occurred."

            Expected Result:
            Error should not be display.

            Note - Employee get added in DB, but when we search same employee from UI it is not get searched.
            Cc: [~saurabh.sablaka], [~prasadp]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Link This issue blocks NF-180 [ NF-180 ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Description 1. Launch the Postman app.
            2. Select “Post” request from dropdwon.
            3. Select authorization type as “Basic Auth”.
            4. Enter invalid User ID and Password.
            5. Enter below URL:
            URL= http://10.0.2.120/api/Employee/AddEmployee?company=12480
            6. Pass the require parameter using body.
            6. Click on Send button.
            7. Verify the message in JSON format.
            Actual Result:
            "message": "An error has occurred."

            Expected Result:
            Error should not be display.

            Note - Employee get added in DB, but when we search same employee from UI it is not get searched.
            Cc: [~saurabh.sablaka], [~prasadp]
            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:
            URL= http://10.0.2.120/api/Employee/AddEmployee?company=12480
            6. Pass the require parameter using body.
            6. Click on Send button.
            7. Verify the message in JSON format.
            Actual Result:
            "message": "An error has occurred."

            Expected Result:
            Error should not be display.

            Note - Employee get added in DB, but when we search same employee from UI it is not get searched.
            Cc: [~saurabh.sablaka], [~prasadp]
            saurabh.sablaka Saurabh Sablaka (Inactive) made changes -
            Status Open [ 1 ] In Development [ 10007 ]
            saurabh.sablaka Saurabh Sablaka (Inactive) made changes -
            Status In Development [ 10007 ] Local Testing [ 10200 ]
            saurabh.sablaka Saurabh Sablaka (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: LB Deployed(11600)
            Hide
            saurabh.sablaka Saurabh Sablaka (Inactive) added a comment -

            Hi Kunal,

            This issue is now fixed. Error was occurring due to company level customization for UserName generation policy. For candidates we accept only email, firstname & last name. So, username & password generation policies should be configured using these fields only.

            Show
            saurabh.sablaka Saurabh Sablaka (Inactive) added a comment - Hi Kunal, This issue is now fixed. Error was occurring due to company level customization for UserName generation policy. For candidates we accept only email, firstname & last name. So, username & password generation policies should be configured using these fields only.
            saurabh.sablaka Saurabh Sablaka (Inactive) made changes -
            Assignee Sushodhan Vaishampayan [ sushodhan.vaishampayan ] Kunal Kedari [ kunal.kedari ]
            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: Ready for Stage(10213)
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            As per dev comments, it is related to configuration of security policies.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - As per dev comments, it is related to configuration of security policies.
            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 -
            Status Local Testing [ 10200 ] Stage Testing [ 10201 ]
            Hide
            prasadp Prasad Pise (Inactive) added a comment -

            Verified on stage. Working as expected, no error displayed.

            Show
            prasadp Prasad Pise (Inactive) added a comment - Verified on stage. Working as expected, no error displayed.
            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)
            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)
            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 -
            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
            7d 4h 36m 1
            Saurabh Sablaka (Inactive) made transition -
            In Development In LB Testing
            2s 1
            Prasad Pise (Inactive) made transition -
            In LB Testing Stage Testing
            4d 17m 1
            Kunal Kedari (Inactive) made transition -
            Stage Testing In Production Testing
            32d 22h 8m 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: