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

Bullhorn Integration->Proper message should be display instead of error message if credentials are invalid

    Details

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

      Description

      1] Access the tour details page using below URL:
      https://10.0.2.120/api/app/TourListing/ListTours?requestFrom=wRnQ7Y%2fZWlCOXjmz9IS4jw%3d%3d&userName=%2bsj2KXYNrgm8O4Va%2bHPUTQ%3d%3d&password=T6NiPfpN8kLQSGDeUamNAw%3d%3d&corporationID=9587&entityType=Placement&entityID=3
      2] In above URL mentioned any invalid value for password/userid/corporationID or entity ID.

      Actual Result:
      Below error message should is displaying:
      Sorry, an error occurred while processing your request.
      Expected Result:
      Proper message should be display so that user can know about invalid credentials.
      (Refer attached screenshot for more detials)

        Attachments

        1. ErrorMessage.jpg
          ErrorMessage.jpg
          62 kB
        2. InvalidEntityID.jpg
          InvalidEntityID.jpg
          61 kB
        3. Stage_Pass.jpg
          Stage_Pass.jpg
          82 kB

          Issue Links

            Activity

            kunal.kedari Kunal Kedari (Inactive) created issue -
            Hide
            ramya.tantry Ramya Tantry (Inactive) added a comment -

            Hi Saurabh Sablaka,

            Please let me know your views on this scenario.
            If we remove one of the characters from encoded value of password or username,validation of user fails and error page is shown(see screenshot attached by QA).
            This is the generic error page that we show in case any validation fails.

            Since we are going to set the URL in custom tab,will there be a scenario where user authentication fails,Unless someone manually changes the url.
            Should we provide more specific error message for every validation?

            Show
            ramya.tantry Ramya Tantry (Inactive) added a comment - Hi Saurabh Sablaka , Please let me know your views on this scenario. If we remove one of the characters from encoded value of password or username,validation of user fails and error page is shown(see screenshot attached by QA). This is the generic error page that we show in case any validation fails. Since we are going to set the URL in custom tab,will there be a scenario where user authentication fails,Unless someone manually changes the url. Should we provide more specific error message for every validation?
            ramya.tantry Ramya Tantry (Inactive) made changes -
            Field Original Value New Value
            Developer Ramya Tantry [ ramya.tantry ]
            Item State Parent values: Development(10200)Level 1 values: In Analysis(10204)
            Remaining Estimate 8h [ 28800 ]
            Original Estimate 8h [ 28800 ]
            ramya.tantry Ramya Tantry (Inactive) made changes -
            Status Open [ 1 ] In Development [ 10007 ]
            Hide
            ramya.tantry Ramya Tantry (Inactive) added a comment -

            Files Affected:

            WorkterraAPI/App_Start/AuthenticateAttribute.cs
            WorkterraAPI/Controllers/BaseControllers/WorkterraAppBaseController.cs
            WorkterraAPI/Controllers/OnBoard/TourListingController.cs
            WorkterraAPI/Views/Shared/Error.cshtml

            Show
            ramya.tantry Ramya Tantry (Inactive) added a comment - Files Affected: WorkterraAPI/App_Start/AuthenticateAttribute.cs WorkterraAPI/Controllers/BaseControllers/WorkterraAppBaseController.cs WorkterraAPI/Controllers/OnBoard/TourListingController.cs WorkterraAPI/Views/Shared/Error.cshtml
            ramya.tantry Ramya Tantry (Inactive) made changes -
            Code Review Date 08/May/2017
            Code Reviewed By Saurabh Sablaka [ 11909 ]
            Item State Parent values: Development(10200)Level 1 values: In Analysis(10204) Parent values: Development(10200)Level 1 values: Ready for Local Testing(10209)
            ramya.tantry Ramya Tantry (Inactive) logged work - 08/May/17 07:29 AM - edited
            • Time Spent:
              4h
               

              Analysis and discussion
              Code Changes
              Unit testing
              Code review
              LB,local and UI refresh checkin

            Hide
            ramya.tantry Ramya Tantry (Inactive) added a comment -

            Concern:Proper message should be display instead of error message if credentials are invalid
            Cause:Generic error page is shown in case any validation fails.
            Correction:We have provided specific error message for validation checks.

            Show
            ramya.tantry Ramya Tantry (Inactive) added a comment - Concern :Proper message should be display instead of error message if credentials are invalid Cause :Generic error page is shown in case any validation fails. Correction :We have provided specific error message for validation checks.
            ramya.tantry Ramya Tantry (Inactive) made changes -
            Remaining Estimate 8h [ 28800 ] 4.5h [ 16200 ]
            Time Spent 3.5h [ 12600 ]
            Worklog Id 43665 [ 43665 ]
            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)
            ramya.tantry Ramya Tantry (Inactive) made changes -
            Assignee Ramya Tantry [ ramya.tantry ] Kunal Kedari [ kunal.kedari ]
            ramya.tantry Ramya Tantry (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 -
            Attachment InvalidEntityID.jpg [ 47232 ]
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Hi Ramya Tantry,

            We have verified the fix for below parameters:
            1] requestForm
            2] username
            3] password
            4] corporationID
            5] entityID

            Now proper message is displaying for all of the above parameters except entityID. If we entered invalid entityID still error message is shown please let us know if we can fix this too.

            Cc: Prasad Pise, Saurabh Sablaka

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Hi Ramya Tantry , We have verified the fix for below parameters: 1] requestForm 2] username 3] password 4] corporationID 5] entityID Now proper message is displaying for all of the above parameters except entityID. If we entered invalid entityID still error message is shown please let us know if we can fix this too. Cc: Prasad Pise , Saurabh Sablaka
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Assignee Kunal Kedari [ kunal.kedari ] Ramya Tantry [ ramya.tantry ]
            ramya.tantry Ramya Tantry (Inactive) made changes -
            Remaining Estimate 4.5h [ 16200 ] 4h [ 14400 ]
            Time Spent 3.5h [ 12600 ] 4h [ 14400 ]
            Worklog Id 43665 [ 43665 ]
            ramya.tantry Ramya Tantry (Inactive) logged work - 09/May/17 04:18 AM
            • Time Spent:
              0.75h
               

              Issue fixing for invalid Entity ID. Unit testing
              Checkin to LB,UIRefresh and Local

            ramya.tantry Ramya Tantry (Inactive) made changes -
            Remaining Estimate 4h [ 14400 ] 3.25h [ 11700 ]
            Time Spent 4h [ 14400 ] 4.75h [ 17100 ]
            Worklog Id 43848 [ 43848 ]
            khandu.kshirsagar Khandu Kshirsagar (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: In Testing(10210) Parent values: LB QA(10201)Level 1 values: LB Deployed(11600)
            ramya.tantry Ramya Tantry (Inactive) made changes -
            Assignee Ramya Tantry [ ramya.tantry ] Kunal Kedari [ kunal.kedari ]
            Hide
            ramya.tantry Ramya Tantry (Inactive) added a comment -

            Hi Kunal Kedari,

            Deployment issue is resolved now.
            Please verify.

            Show
            ramya.tantry Ramya Tantry (Inactive) added a comment - Hi Kunal Kedari , Deployment issue is resolved now. Please verify.
            ramya.tantry Ramya Tantry (Inactive) logged work - 09/May/17 09:46 AM
            • Time Spent:
              1h
               

              deployment issue analysis

            ramya.tantry Ramya Tantry (Inactive) made changes -
            Remaining Estimate 3.25h [ 11700 ] 2.25h [ 8100 ]
            Time Spent 4.75h [ 17100 ] 5.75h [ 20700 ]
            Worklog Id 44019 [ 44019 ]
            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 message for invalid entityID, now it is displaying as "Error in receiving candidate details from Bullhorn." We can move fix to Stage.

            Cc: Prasad Pise, Saurabh Sablaka, Ramya Tantry

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - We have verified the message for invalid entityID, now it is displaying as "Error in receiving candidate details from Bullhorn." We can move fix to Stage. Cc: Prasad Pise , Saurabh Sablaka , Ramya Tantry
            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 -
            Attachment Stage_Pass.jpg [ 47923 ]
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            We have verified the changes on Stage, now proper validation message is displaying for invalid credentials.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - We have verified the changes on Stage, now proper validation message is displaying for invalid credentials.
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Status Local Testing [ 10200 ] Stage Testing [ 10201 ]
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            As we are deploying all Bullhorn changes to Production in next week for time being marking this issue as "Production Deployment on Hold"

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - As we are deploying all Bullhorn changes to Production in next week for time being marking this issue as "Production Deployment on Hold"
            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 -
            Link This issue relates to NF-1063 [ NF-1063 ]
            kunal.kedari Kunal Kedari (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)
            khandu.kshirsagar Khandu Kshirsagar (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 the changes on Production, proper validation message is displaying for invalid credentials. Closing the ticket.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Verified the changes on Production, proper validation message is displaying for invalid credentials. Closing the ticket.
            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
            Ramya Tantry (Inactive) made transition -
            Open In Development
            2d 16h 45m 1
            Ramya Tantry (Inactive) made transition -
            In Development In LB Testing
            6h 47m 1
            Kunal Kedari (Inactive) made transition -
            In LB Testing Stage Testing
            4d 55m 1
            Kunal Kedari (Inactive) made transition -
            Stage Testing In Production Testing
            41d 17h 16m 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)
              Developer:
              Ramya Tantry (Inactive)
              QA:
              Kunal Kedari (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Code Review Date:

                  Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Time Spent - 5.75h Remaining Estimate - 2.25h
                  2.25h
                  Logged:
                  Time Spent - 5.75h Remaining Estimate - 2.25h
                  5.75h