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

Maxinfo issuing invalid null's in JSON response

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.4.3
    • 2.0.0
    • maxinfo
    • None

    Description

      For example, when I issue a GET against /variables,

                                                                                      
      [ { "Variable_name" : "version", "Value" : "1.4.3"},
      { "Variable_name" : "version_comment", "Value" : "MariaDB MaxScale"},
      { "Variable_name" : "basedir", "Value" : NULL},
      { "Variable_name" : "MAXSCALE_VERSION", "Value" : "1.4.3"},
      { "Variable_name" : "MAXSCALE_THREADS", "Value" : 1},
      { "Variable_name" : "MAXSCALE_NBPOLLS", "Value" : 3},
      { "Variable_name" : "MAXSCALE_POLLSLEEP", "Value" : 1000},
      { "Variable_name" : "MAXSCALE_UPTIME", "Value" : 7158},
      { "Variable_name" : "MAXSCALE_SESSIONS", "Value" : 4}]
      

      Javascript's NULL is case sensitive, so this should be null instead.

      Attachments

        Activity

          People

            markus makela markus makela
            michael.danko Michael Danko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.