#4410 js error's when sql command is executed

4.2.1
invalid
nobody
None
5
2015-02-01
2014-05-14
Marc
No

in this case, I clicked on "inline" to change the sql statement.
but this also happend after executing an sql query to add a table.

{
"exception": {
"mode": "onerror",
"message": "Uncaught exception: TypeError: Cannot convert 'compareField.parentNode' to object",
"stack":
{
"line": "56",
"func": "?",
"uri": "?",
"scriptname": null
}
,
"useragent": "Opera/9.80 (X11; Linux x86_64) Presto/2.12.388 Version/12.16",
"name": "exception",
"uri": "tbl_sql.php?target="
},
"script_name": "tbl_sql.php",
"pma_version": "4.2.1",
"browser_name": "OPERA",
"browser_version": "9.80",
"user_os": "Linux",
"server_software": "Apache/2.4.7 (Mageia)",
"user_agent_string": "Opera/9.80 (X11; Linux x86_64) Presto/2.12.388 Version/12.16",
"locale": "de",
"configuration_storage": "enabled",
"php_version": "5.5.11",
"microhistory": {
"pages":
{
"hash": "sql.php?db=mokraemer_test&table=qmChangelog&server=1&target=&token=0d52f18a98e547661071559d6b8112ca"
},
{
"hash": "tbl_operations.php?db=mokraemer_test&table=qmChangelog&server=1&target=&token=0d52f18a98e547661071559d6b8112ca",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"querywindow_height": "400",
"querywindow_width": "600",
"collation_connection": "utf8mb4_general_ci",
"lang": "de",
"server": "1",
"text_dir": "ltr",
"pma_text_default_tab": "Struktur",
"pma_text_left_default_tab": "Struktur",
"confirm": "true"
}
},
{
"hash": "db_structure.php?db=mokraemer_test&table=&server=1&target=&token=0d52f18a98e547661071559d6b8112ca",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"querywindow_height": "400",
"querywindow_width": "600",
"collation_connection": "utf8mb4_general_ci",
"lang": "de",
"server": "1",
"text_dir": "ltr",
"pma_text_default_tab": "Struktur",
"pma_text_left_default_tab": "Struktur",
"confirm": "true"
}
},
{
"hash": "db_sql.php?db=mokraemer_test&table=&server=1&target=&token=0d52f18a98e547661071559d6b8112ca",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"querywindow_height": "400",
"querywindow_width": "600",
"collation_connection": "utf8mb4_general_ci",
"lang": "de",
"server": "1",
"text_dir": "ltr",
"pma_text_default_tab": "Struktur",
"pma_text_left_default_tab": "Struktur",
"confirm": "true"
}
},
{
"hash": "tbl_structure.php?db=mokraemer_test&table=qmChangelog&server=1&target=&token=0d52f18a98e547661071559d6b8112ca",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"querywindow_height": "400",
"querywindow_width": "600",
"collation_connection": "utf8mb4_general_ci",
"lang": "de",
"server": "1",
"text_dir": "ltr",
"pma_text_default_tab": "Struktur",
"pma_text_left_default_tab": "Struktur",
"confirm": "true"
}
},
{
"hash": "tbl_sql.php?db=mokraemer_test&table=qmChangelog&server=1&target=&token=0d52f18a98e547661071559d6b8112ca",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"querywindow_height": "400",
"querywindow_width": "600",
"collation_connection": "utf8mb4_general_ci",
"lang": "de",
"server": "1",
"text_dir": "ltr",
"pma_text_default_tab": "Struktur",
"pma_text_left_default_tab": "Struktur",
"confirm": "true"
}
}
,
"current_index": "6"
}
}

Discussion

  • Shivam Dixit

    Shivam Dixit - 2014-06-07

    Not able to reproduce the bug. Can you please add steps for reproducing, in case I'm doing it wrong ?

    Thanks

     
    Last edit: Shivam Dixit 2014-06-07
  • Marc Delisle

    Marc Delisle - 2014-06-20
    • status: open --> pending
     
  • Marc

    Marc - 2014-06-20

    sorry for the late reply.
    I looks like the problem occured by a third party plugin (automatic resize of textarea).

    BUT: since dactivting the errors are not that frequent, but still exist. I almost ignore the popup of js-errors on bottom - but I think they should never occur.

    Btw. direct sending of JS errors doesn't work.

     
  • Marc Delisle

    Marc Delisle - 2014-06-20

    Thanks Marc. BTW, we get plenty of JS error reports, so maybe the report sending does not work in some situations but in general, it works.

     
  • Marc Delisle

    Marc Delisle - 2014-07-28
    • status: pending --> invalid