Menu

#4051 (ok 4.0.6) Wrong tabindex when inserting rows

4.0.5
fixed
None
1
2013-09-05
2013-08-11
No

Go to insert some rows in a table. Tab indexes are as expected (for a 4-field table it's 1,2,3,4 for the first row then 5,6,7,8 for the second)

Add more fields using "Continue insertion" at the bottom.

The tab indexes for the new fields are wrong. The 3rd row goes 7,8,9,8 and the 4th goes 10,11,12,8.

Discussion

  • Marc Delisle

    Marc Delisle - 2013-08-23

    Cannot reproduce with this table:
    CREATE TABLE IF NOT EXISTS bug4051 (
    c1 int(11) NOT NULL,
    c2 int(11) NOT NULL,
    c3 int(11) NOT NULL,
    c4 int(11) NOT NULL
    ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

    and choosing "Continue insertion with 5 rows" from the original two rows displayed.

     
  • Marc Delisle

    Marc Delisle - 2013-08-23
    • status: open --> pending
     
  • DisgruntledGoat

    DisgruntledGoat - 2013-08-24

    I tried with your set up and the tab indexes for the fields were OK, however, the "Go" button at the bottom had tabindex=14 which meant after the 14th field (2nd in the 4th row) it jumped to the bottom then back up.

    However, the issue still occurs with my original table, so perhaps the bug depends on the type of fields or something. Here is the exact format:

    CREATE TABLE IF NOT EXISTS `bug4051b` (
      `id` smallint(5) unsigned NOT NULL,
      `imgw` smallint(5) unsigned NOT NULL DEFAULT '0',
      `imgh` smallint(5) unsigned NOT NULL DEFAULT '0',
      `altimg` varchar(200) NOT NULL DEFAULT '',
      PRIMARY KEY (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
    
     

    Last edit: DisgruntledGoat 2013-08-24
  • Marc Delisle

    Marc Delisle - 2013-08-24

    Thanks. The logic does not work for a character column having a length > 99.

     
  • Marc Delisle

    Marc Delisle - 2013-08-24
    • status: pending --> open
    • assigned_to: Marc Delisle
     
  • Marc Delisle

    Marc Delisle - 2013-08-24
    • summary: Wrong tabindex when inserting rows --> (ok 4.0.6) Wrong tabindex when inserting rows
    • status: open --> resolved
    • Priority: 6 --> 1
     
  • Marc Delisle

    Marc Delisle - 2013-09-05
    • Status: resolved --> fixed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.