Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-8625

Error is not explicit when no action is provided

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3
    • Component/s: Web API
    • Labels:

      Description

      When a WS is called without any action, for instance "http://localshot:9000/api/settings", the error is :

      {
          "errors": [
              {
                  "msg": "Unknown controller: api"
              }
          ]
      }
      

      The error should report the fact that the action is missing.

        Attachments

          Activity

            People

            • Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              julien.lancelot Julien Lancelot
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: