Bug #33047 Index Columns Panel does not refresh when switching to new table
Submitted: 6 Dec 2007 20:33 Modified: 7 Dec 2007 1:06
Reporter: Roland Bouman Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.10 OS:Windows (XP Home)
Assigned to: CPU Architecture:Any

[6 Dec 2007 20:33] Roland Bouman
Description:
The "Index Columns" Fieldset in the "Indexes" tabpage of the table editor does not refresh when switching to a new table to edit in the same table editor.

How to repeat:
Create two tables. From the "MySQL Model" page, dbl click one table to edit it. Open the Columns tab, dbl click before the column name to make that the PK. 

Switch to the Indexes tab page, and click the index name. Observe that the "Index Columns" fieldset is filled with the columns of the current table. 

Now, dbclick the other table. It will load in the existing editor. The pane with the index names gets updated (you can see because the selection is undone) but the "Index columns" pane remains as is.

Only after selecting an index gets the fieldset refilled.

Suggested fix:
Empty "Index Columns" when switching to a new table to edit in an existing talbe editor.
[6 Dec 2007 20:49] Roland Bouman
The same problem occurs for Foreign key columns in the foreign key tab.
[6 Dec 2007 23:07] MySQL Verification Team
Thank you for the bug report.
[7 Dec 2007 1:06] Alfredo Kojima
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at

    http://dev.mysql.com/doc/en/installing-source.html

Duplicate (sort of) #33003