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

            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.
            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.
            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.
            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.

              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: