#322 Bug with tree nesting bigger than 1

closed
Interface (183)
5
2008-12-15
2006-08-14
IOn
No

When you set the tree nesting bigger than 2 than when
you click on the group name the tables are not corect
selected

Possible sollution:

in function PMA_displayTableList (left.php) , when the
recursive call ocures you have to chenge this :

PMA_displayTableList( $table, false, '', $table_db );

in this

PMA_displayTableList( $table, false, $group, $table_db );

IOn.

BORGChat developer.

PS: I have attached the changed file ( for v.2.8.2.2)

Discussion

  • IOn

    IOn - 2006-08-14
     
  • Marc Delisle

    Marc Delisle - 2006-08-27
    • labels: 317619 --> Interface
    • milestone: 630266 -->
     
  • Marc Delisle

    Marc Delisle - 2006-08-27

    Logged In: YES
    user_id=210714

    Moved to patches.

     
  • Marc Delisle

    Marc Delisle - 2006-08-29
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2006-08-29

    Logged In: YES
    user_id=210714

    I don't understand your explanation. In 2.8.2.2, I set
    $cfg['LeftFrameTableLevel'] = '3';

    When I click on the group name, it is expanded and I see a
    small L-shaped line enclosing the group. Tested in Firefox
    and IE 6.

     
  • Marc Delisle

    Marc Delisle - 2006-08-29
    • status: open --> pending
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     
  • IOn

    IOn - 2008-11-06
    • status: closed --> open
     
  • IOn

    IOn - 2008-11-06

    This problem is present also in versions 3.0.0.

    I will try to explain again the problem.

    1. Set $cfg['LeftFrameTableLevel'] = 3; ( > 1 )
    2. If you have tables grouped in a tree, expanded on more than 1 levels (see bellow)

    EXAMPLE:

    + groupA
    |- groupA_table1
    |- groupA_table2
    |
    |- + sectionA
    |- groupA_sectionA_table1
    |- groupA_sectionA_table2
    |- groupA_sectionA_table3

    3. if you click on a sub-group (on the name, not on the expand button ) the main iframe should show the tables that start with that prefix ;
    in the example given if I click the "sectionA" the main iframe should display only the tables that start with "groupA_sectionA_"

    For version 3.0.X the same fix can be applied.

    1. edit "navigation.php"
    2. search the "function PMA_displayTableList"
    3. change this (line ~604) :
    PMA_displayTableList( $table, false, '', $table_db );
    in this
    PMA_displayTableList( $table, false, $group, $table_db );

     
  • Marc Delisle

    Marc Delisle - 2008-11-06

    Hello,
    what is your value for $cfg['LeftFrameTableSeparator']? According to your example, I have put '_' (just one underscore) inside mine.

    With this value, testing in FF 3.0.3 in Windows, I click in left panel on sectionA and in the right panel, I see the database groupA and only the tables whose name start with sectionA.

    In left panel here is what I see:
    -groupA (5)
    -sectionA (3)
    sectionA_table1
    sectionA_table2
    sectionA_table3
    table1
    table2

     
  • Marc Delisle

    Marc Delisle - 2008-11-30
    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks