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

REST API reports unknown parameters with warnings and not errors

    XMLWordPrintable

Details

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

    Description

      An unknown parameter given to maxctrl alter server is not reported correctly as an error but as a warning. This causes a generic HTTP error message to be printed:

      maxctrl alter server server1 ssl_ca /home/markusjm/ssl-certs/ca.pem
      Error: Server at 127.0.0.1:8989 responded with status code 403 to `PATCH servers/server1`
      

      If the unknown parameter is logged at the error level, it will be correctly relayed to the client application.

      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.