Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JS] No plot target specified #15692

Closed
williamdes opened this issue Dec 24, 2019 · 2 comments
Closed

[JS] No plot target specified #15692

williamdes opened this issue Dec 24, 2019 · 2 comments
Assignees
Labels
Bug A problem or regression with an existing feature
Projects
Milestone

Comments

@williamdes
Copy link
Member

trace

{
    "pma_version": "4.9.3-dev",
    "browser_name": "CHROME",
    "browser_version": "79.0.3945.88",
    "user_os": "Win",
    "server_software": "Apache/2.4.25 (Win32) PHP/7.1.3",
    "user_agent_string": "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36",
    "locale": "en",
    "configuration_storage": "enabled",
    "php_version": "7.1.3",
    "script_name": "server_status_queries.php",
    "exception_type": "js",
    "exception": {
        "mode": "stack",
        "name": "Error",
        "message": "No plot target specified",
        "stack": [
            {
                "func": "jqPlot.init",
                "line": "1989",
                "column": "23",
                "context": [
                    "                this.target.data('jqplot', this);",
                    "            }",
                    "            // remove any error class that may be stuck on target.",
                    "            this.target.removeClass('jqplot-error');",
                    "            if (!this.target.get(0)) {",
                    "                throw new Error(\"No plot target specified\");",
                    "            }",
                    "            ",
                    "            // make sure the target is positioned by some means and set css",
                    "            if (this.target.css('position') == 'static') {",
                    "                this.target.css('position', 'relative');"
                ],
                "uri": "js/vendor/jqplot/jquery.jqplot.js?v=4.9.3-dev",
                "scriptname": "js/vendor/jqplot/jquery.jqplot.js"
            },
            {
                "func": "Function.$.jqplot",
                "line": "240",
                "column": "18",
                "context": [
                    "                document.getElementById(target).style.fontStyle = $.jqplot.//...",
                    "                document.getElementById(target).style.fontWeight = $.jqplot//...",
                    "            }",
                    "        }",
                    "        else {        ",
                    "            plot.init(target, _data, _options);",
                    "            plot.draw();",
                    "            plot.themeEngine.init.call(plot);",
                    "            return plot;",
                    "        }",
                    "    };"
                ],
                "uri": "js/vendor/jqplot/jquery.jqplot.js?v=4.9.3-dev",
                "scriptname": "js/vendor/jqplot/jquery.jqplot.js"
            },
            {
                "func": "JQPlotPieChart.JQPlotChart.draw",
                "line": "217",
                "column": "23",
                "context": [
                    "};",
                    "JQPlotChart.prototype = new Chart();",
                    "JQPlotChart.prototype.constructor = JQPlotChart;",
                    "JQPlotChart.prototype.draw = function (data, options) {",
                    "    if (this.validator.validateColumns(data)) {",
                    "        this.plot = $.jqplot(this.elementId, this.prepareData(data), this",
                    "            .populateOptions(data, options));",
                    "    }",
                    "};",
                    "JQPlotChart.prototype.destroy = function () {",
                    "    if (this.plot !== null) {"
                ],
                "uri": "js/chart.js?v=4.9.3-dev",
                "scriptname": "js/chart.js"
            },
            {
                "func": "PMA_createProfilingChart",
                "line": "2549",
                "column": "11",
                "context": [
                    "    if (windowWidth > 768) {",
                    "        var location = 'se';",
                    "    }",
                    "",
                    "    // draw the chart and return the chart object",
                    "    chart.draw(dataTable, {",
                    "        seriesDefaults: {",
                    "            rendererOptions: {",
                    "                showDataLabels:  true",
                    "            }",
                    "        },"
                ],
                "uri": "js/functions.js?v=4.9.3-dev",
                "scriptname": "js/functions.js"
            },
            {
                "func": "new_func",
                "line": "265",
                "column": "33",
                "context": [
                    "     */",
                    "    wrap_function: function (func) {",
                    "        if (!func.wrapped) {",
                    "            var new_func = function () {",
                    "                try {",
                    "                    return func.apply(this, arguments);",
                    "                } catch (x) {",
                    "                    TraceKit.report(x);",
                    "                }",
                    "            };",
                    "            new_func.wrapped = true;"
                ],
                "uri": "js/error_report.js?v=4.9.3-dev",
                "scriptname": "js/error_report.js"
            },
            {
                "func": "HTMLDocument.",
                "line": "24",
                "column": "13",
                "context": [
                    "        $.each($('#serverstatusquerieschart').data('chart'), function (key,//...",
                    "            cdata.push([key, parseInt(value, 10)]);",
                    "        });",
                    "        $('#serverstatusquerieschart').data(",
                    "            'queryPieChart',",
                    "            PMA_createProfilingChart(",
                    "                'serverstatusquerieschart',",
                    "                cdata",
                    "            )",
                    "        );",
                    "    } catch (exception) {"
                ],
                "uri": "js/server_status_queries.js?v=4.9.3-dev",
                "scriptname": "js/server_status_queries.js"
            },
            {
                "func": "HTMLDocument.dispatch",
                "line": "2",
                "column": "42571",
                "context": [
                    "/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/l//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=4.9.3-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "HTMLDocument.$event.dispatch",
                "line": "374",
                "column": "19",
                "context": [
                    "$event.dispatch = function( event ){",
                    "\tif ( $.data( this, \"suppress.\"+ event.type ) - new Date().getTime() > 0 ){",
                    "\t\t$.removeData( this, \"suppress.\"+ event.type );",
                    "\t\treturn;",
                    "\t}",
                    "\treturn $dispatch.apply( this, arguments );",
                    "};",
                    "",
                    "// event fix hooks for touch events...",
                    "var touchHooks = ",
                    "$event.fixHooks.touchstart = "
                ],
                "uri": "js/vendor/jquery/jquery.event.drag-2.2.js?v=4.9.3-dev",
                "scriptname": "js/vendor/jquery/jquery.event.drag-2.2.js"
            },
            {
                "func": "HTMLDocument.v.handle",
                "line": "2",
                "column": "40572",
                "context": [
                    "/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/l//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=4.9.3-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "Object.trigger",
                "line": "2",
                "column": "70627",
                "context": [
                    "/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/l//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=4.9.3-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            }
        ],
        "uri": "server_status_queries.php?"
    }
}

easyphp dev server 17.0

@williamdes williamdes added the Bug A problem or regression with an existing feature label Dec 24, 2019
@williamdes williamdes added this to Needs triage in issues via automation Dec 24, 2019
@williamdes
Copy link
Member Author

image

williamdes added a commit that referenced this issue Dec 24, 2019
Signed-off-by: William Desportes <williamdes@wdes.fr>
issues automation moved this from Needs triage to Closed Dec 24, 2019
@williamdes williamdes self-assigned this Dec 24, 2019
@williamdes williamdes added this to the 4.9.3 milestone Dec 24, 2019
@williamdes
Copy link
Member Author

Param Value
Error Type Error
Error Message No plot target specified
Exception Type js
phpMyAdmin version 4.9.3-dev
Incident count 1
Link Report#62070

This comment is posted automatically by phpMyAdmin's error-reporting-server.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A problem or regression with an existing feature
Projects
issues
  
Closed
Development

No branches or pull requests

1 participant