Bug #46943 Tables in Layout Don't Update on Table Definition Changes
Submitted: 26 Aug 2009 18:35 Modified: 27 Aug 2009 6:06
Reporter: Justin Noel Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.1.17 OS:MacOS
Assigned to: CPU Architecture:Any
Tags: DEFINITION, design, layout, UPDATE, workbench

[26 Aug 2009 18:35] Justin Noel
Description:
The visual image of a table does not get updated after editing the table.  See how to repeat and attached image.

How to repeat:
1.  Create a table by clicking table tool and clicking on the layout area.
2.  Double click the new table to edit it.
3.  Select the "columns" tab.
4. Add a new primary key column.
5. Add a new column.  By default, as soon as the column name is defined, varchar(45) gets entered in the datatype field.
6.  Look at the layout area.  Table will have a varchar(45) as the second column.
7.  Edit the datatype of the column to ANY other datatype or even a varchar(12) ....
8. Look at the layout area.  Table will STILL have a varchar(45) as the second column.
9.  Right click on the table in the layout area.  Select Copy SQL to clipboard.
10.  See that the SQL still has the incorrect datatype.
11.  Completely exit MySQL Workbench.
12.  Reopen MySQL Workbench and the Model you were working on.
13.  Table layout area is now updated.

Suggested fix:
Table layout area gets instantly updated when a table is edited.
[26 Aug 2009 18:37] Justin Noel
Example of Layout Updating Bug

Attachment: Picture 45.png (image/png, text), 34.03 KiB.

[27 Aug 2009 3:48] Valeriy Kravchuk
Thank you for the problem report. Looks like a duplicate of Bug #46940. Please, check.
[27 Aug 2009 3:55] Justin Noel
You are right.  I'm sorry I missed it.  This is a duplicate.
[27 Aug 2009 6:06] Valeriy Kravchuk
Duplicate of Bug #46940.