Menu

#3127 most overlay/ajax stuff doesn't work in chrome / chromium

fixed
AJAX (99)
5
2013-06-11
2010-10-10
flokli
No

When trying phpmyadmin HEAD, most overlays and ajax stuff doesn't work:

Example: Privileges->User Overview:
Edit Privileges of an existing user works, but adding a new one throws an error in javascript console:
Uncaught TypeError: Cannot read property 'PMA_messages' of undefined js/server_privileges.js:211

Then I see errors like:
Uncaught TypeError: Cannot read property 'document' of undefined /js/common.js:440

When I try to edit a row in a table (not direct edit) and want to submit:

When I did't change something: I see in the "notification area" "Error in Processing Request : undefined" (however I except to get back to the table).

When I changed something: I see "1 row affected", but also don't get back to tables, I see the "UPDATE...." query and the edit form, but with old values before the change...

I'm sure there are more bugs when using chrome/chromium...

Is this behaviour a known problem?

Tested with various new Chromiums, will provide more info if needed.

Discussion

  • Marc Delisle

    Marc Delisle - 2010-10-31
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2010-10-31

    I am using Chrome 7.0.517.41 under Vista.
    The error when editing, changing a column and clicking Go was not specfic to Chrome and has been fixed.
    The error when editing and changing nothing then clicking Go is not specific to Chrome.
    I have no problem adding a privilege.

     
  • Marc Delisle

    Marc Delisle - 2010-10-31

    Fixed the problem when editing and changing nothing.
    Please reopen this artifact if you still have a problem.

     
  • Marc Delisle

    Marc Delisle - 2010-10-31
    • status: open --> closed-fixed
     
  • Marc Delisle

    Marc Delisle - 2010-11-01
    • status: closed-fixed --> open-fixed
     
  • flokli

    flokli - 2010-11-01

    I still have a problem adding a new mysql USER via phpmyadmin.
    The error is occuring when clicking on "Add a new user" at the bottom of the Privileges/User Overview page.
    (server_privileges.php -> Add a new user)
    Uncaught TypeError: Cannot read property 'PMA_messages' of undefined js/server_privileges.js:211

     
  • Marc Delisle

    Marc Delisle - 2010-11-04

    I think you wrote that this error happens under Chrome when running in Linux? Do you have access to a Windows machine to compare the behavior?

     
  • flokli

    flokli - 2010-11-04

    i do. will post results later today.

     
  • Marc Delisle

    Marc Delisle - 2010-11-04

    What happens if you replace the offending line with:

    title: PMA_messages['strAddNewUser'],

     
  • flokli

    flokli - 2010-11-04

    Yes, I have a linux machine on which I see this bug.
    I tested it on Windows XP, there the bug is not present. (9.0.573.0)

    I changed the title value, now it works on both platforms.

    There are also two occurences of top.frame_content.PMA_messages in js/functions.js, I also changed them.
    You can find the patch at http://pastebin.com/4evBt0bj .

     
  • Marc Delisle

    Marc Delisle - 2010-11-05
    • status: open-fixed --> closed-fixed
     
  • Marc Delisle

    Marc Delisle - 2010-11-05

    Fixed all occurences, thanks.

     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed
     
MongoDB Logo MongoDB