Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-4762

REST-API generates too many errors for some endpoints

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 23.08.0
    • 23.08.1
    • REST-API
    • None

    Description

      The following demonstrates the problem:

      $ curl -X POST -uadmin:mariadb localhost:8989/sql/undefined/queries
      {
          "errors": [
              {
                  "detail": "undefined is not a connection_id"
              },
              {
                  "detail": "undefined is not a connection_id"
              },
              {
                  "detail": "undefined is not a connection_id"
              },
              {
                  "detail": "undefined is not a connection_id"
              }
          ]
      }
      

      Only one error should be returned instead of four.

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.