Uploaded image for project: 'CFA MX '
  1. CFA MX
  2. CFAMX-12123

Incorrect HTTP Error Code Returned in Swagger for Store Not Configured Error

    Details

    • Type: Testing Defect
    • Status: Done (View Workflow)
    • Priority: Major
    • Resolution: Completed
    • Affects Version/s: CFA 2020R4
    • Fix Version/s: CFA 2020R4
    • Component/s: None
    • Labels:
      None

      Description

      Environment: JAT (NOTE: API is not available in testing)
      Build: CFA - 21.1.0.3621
      Browser: Chrome
      Description: Incorrect HTTP Error Code Returned in Swagger for Store Not Configured Error

      Steps:
      1. Login to VPN and naviagate to http://api.inform.jatesting.cfahome.com/swagger/ui/index#!/Forecasting/Forecasting_PostRegenerateForStoreOnDate
      2. Enter valus for a request
      Ex.

      { "storeNumber": "00198", "applyDate": "09-27-2020", "overwriteManagerEdits": true }

      3. Enter access token in the Authorization field (NOTE: Bearer <TOKEN>)

      Expected Result:
      Error should return an HTTP 404 error

      Actual Result:
      Getting a 412 error

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Tristan.Strong Tristan Strong
                Reporter:
                Tristan.Strong Tristan Strong
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h Time Not Required
                  1h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.