Skip to content

Cannot read properties of undefined (reading 'childNodes') #20320

@williamdes

Description

@williamdes

Describe the bug

{
    "pma_version": "6.0.0-dev+20260517.41b0c9ceb2",
    "browser_name": "CHROME",
    "browser_version": "148.0.0.0",
    "user_os": "Linux",
    "server_software": "Apache/2.4.67 (Debian)",
    "user_agent_string": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36",
    "locale": "fr",
    "configuration_storage": "disabled",
    "php_version": "8.3.31",
    "script_name": "index.php",
    "exception_type": "js",
    "exception": {
        "mode": "stack",
        "name": "TypeError",
        "message": "Cannot read properties of undefined (reading 'childNodes')",
        "stack": [
            {
                "line": "342",
                "func": "",
                "context": [
                    "            if (lastException === ex) {",
                    "                processLastException();",
                    "            }",
                    "        }, (stack.incomplete ? 2000 : 0));",
                    "",
                    "        throw ex; // re-throw to propagate to the top level (and cause wind//...",
                    "    }",
                    "",
                    "    report.subscribe = subscribe;",
                    "    report.unsubscribe = unsubscribe;",
                    "    return report;"
                ],
                "uri": "js/vendor/tracekit.js?v=6.0.0-dev%2B20260517.41b0c9ceb2",
                "scriptname": "js/vendor/tracekit.js"
            },
            {
                "func": "HTMLTableCellElement.<anonymous>",
                "line": "2346",
                "column": "90",
                "context": [
                    "        }",
                    "        if (jquery__WEBPACK_IMPORTED_MODULE_0___default()(g.t).find(\".\".con//...",
                    "          let selectionText = '';",
                    "          const headers = [];",
                    "          jquery__WEBPACK_IMPORTED_MODULE_0___default()(g.t).find('thead th//...",
                    "            headers.push(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this//...",
                    "          });",
                    "          if (headers.length > 0) {",
                    "            selectionText += headers.join('\\t') + '\\n';",
                    "          }",
                    "          const rows = [];"
                ],
                "uri": "js/makegrid.js?v=6.0.0-dev%2B20260517.41b0c9ceb2",
                "scriptname": "js/makegrid.js"
            },
            {
                "func": "ce.each",
                "line": "2",
                "column": "3129",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev%2B20260517.41b0c9ceb2",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "e.<computed>.each",
                "line": "2",
                "column": "1594",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev%2B20260517.41b0c9ceb2",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "HTMLDocument.<anonymous>",
                "line": "2345",
                "column": "93",
                "context": [
                    "          return;",
                    "        }",
                    "        if (jquery__WEBPACK_IMPORTED_MODULE_0___default()(g.t).find(\".\".con//...",
                    "          let selectionText = '';",
                    "          const headers = [];",
                    "          jquery__WEBPACK_IMPORTED_MODULE_0___default()(g.t).find('thead th//...",
                    "            headers.push(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this//...",
                    "          });",
                    "          if (headers.length > 0) {",
                    "            selectionText += headers.join('\\t') + '\\n';",
                    "          }"
                ],
                "uri": "js/makegrid.js?v=6.0.0-dev%2B20260517.41b0c9ceb2",
                "scriptname": "js/makegrid.js"
            },
            {
                "func": "HTMLDocument.newFunc",
                "line": "238",
                "column": "23",
                "context": [
                    "   */",
                    "  wrapFunction: function (func) {",
                    "    if (!func.wrapped) {",
                    "      const newFunc = function () {",
                    "        try {",
                    "          return func.apply(this, arguments);",
                    "        } catch (x) {",
                    "          window.TraceKit.report(x);",
                    "        }",
                    "      };",
                    "      // @ts-ignore"
                ],
                "uri": "js/error_report.js?v=6.0.0-dev%2B20260517.41b0c9ceb2",
                "scriptname": "js/error_report.js"
            },
            {
                "func": "HTMLDocument.dispatch",
                "line": "2",
                "column": "40035",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev%2B20260517.41b0c9ceb2",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "v.handle",
                "line": "2",
                "column": "38006",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev%2B20260517.41b0c9ceb2",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            }
        ],
        "incomplete": "false",
        "partial": "true",
        "uri": "index.php?route=%2Ftable%2Fsearch"
    }
}

How to Reproduce

I copied the table by selecting the data up to the header.
One data row, one header row.
Date times and int columns that have FKs. one small bit of text.

Expected behavior

No response

Screenshots

No response

Operating System

No response

Web Server

No response

Database Server

No response

Database version

No response

PHP version

No response

phpMyAdmin version

6.0.0-dev

browser

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA problem or regression with an existing feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions