#3834 (ok 4.0.0-beta3) Javascript error on specific string

3.5.7
fixed
Marc Delisle
1
2013-06-11
2013-02-20
Siby
No

Test on Safari version 6.0.2 ( MAC OSX 10.8.2 )
Test done on Firefox 17.0.1 on MAC

Test case :
CREATE TABLE mt_demo_caption (  title varchar(250) NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8

INSERT INTO zzzz.mt_demo_caption (title) VALUES ('$^$zafpkpjnrehfgiluehbkjvezbglvjkzehrbgjlvkezrbgkvljzergbkjzerbgk');

I launch the following SQL SELECT command with phpMyadmin

SELECT MT.title,ROUND( RAND( ) *100000) RANDOM FROM mt_demo_caption MT WHERE 1 = 1 AND title = '$^$zafpkpjnrehfgiluehbkjvezbglvjkzehrbgjlvkezrbgkvljzergbkjzerbgk'

I get line as expected but

The bug :
When i want to edit the title column by left clicking on line then nothing append ( input area doesn't appear ).
I open javascript console and get the following message
TypeError: 'undefined' is not an object (evaluating 'b(this).data("qtip").interfaces')

1 Attachments

Discussion

  • Marc Delisle
    Marc Delisle
    2013-02-20

    Which phpMyAdmin version please?

     
  • Siby
    Siby
    2013-02-20

    PhpMyAdmin version 3.5.7
    sorry :(

     
  • Marc Delisle
    Marc Delisle
    2013-02-26

    • milestone: 3.3.7 --> 3.5.7
     
  • Jan Brejcha
    Jan Brejcha
    2013-02-27

    Hello, I would like to try to fix this bug. I am a student from CTU in Prague and I need to join some Open Source community and help with some project as my semestral work. Since it can be only minor bug fix, I would like to try this. Is it possible? Thank you very much.

     
    Last edit: Jan Brejcha 2013-02-27
  • Jan,
    Yes, the bug is open, you can try fixing it. Please put a pull request on Github once you are done.

     
  • Jan Brejcha
    Jan Brejcha
    2013-02-27

    Ok, I will give it a try. Thank you very much.

     
  • Marc Delisle
    Marc Delisle
    2013-03-24

    The error does not happen in 4.0, because qtip is no longer part of the code. By the way, with your test case, the row is not editable because the table has no unique key.

     
    • Siby
      Siby
      2013-03-25

      Hello,
      From my side, the row is editable even if no primary key defined.
      Ok,it's bad but it works.
      In any case, thank you for this bug fixe

       
      Last edit: Siby 2013-03-25
  • Marc Delisle
    Marc Delisle
    2013-03-24

    • summary: Javascript error on specific string --> (ok 4.0.0-beta3) Javascript error on specific string
    • status: open --> open-fixed
    • assigned_to: Marc Delisle
    • priority: 5 --> 1
     
  • Marc Delisle
    Marc Delisle
    2013-03-27

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

    • Status: closed-fixed --> fixed