Bug #46940 Changing datatype doesn't update datatype in diagram (but tooltips gets updated)
Submitted: 26 Aug 2009 14:00 Modified: 28 Aug 2009 7:25
Reporter: nisses insane Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.1.17 OS:Any (XP SP3 .NET 3.5 SP1, Mac OS X)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: datatype refresh update change, regression

[26 Aug 2009 14:00] nisses insane
Description:
Changing datatype doesn't update datatype in diagram although tooltips gets updated and shows datatype correctly. The bug wasn't present in 5.1.16 nor is present in 5.2.2a. Just 5.1.17.

How to repeat:
Start Workbench. Create diagram. Place table. Add a column. Let it update the diagram. Then change the datatype of that column. Press enter. Diagram doesn't update.

Suggested fix:
Invoke refresh after datatype change?
[26 Aug 2009 14:29] Valeriy Kravchuk
Verified just as described on Mac OS X.
[26 Aug 2009 14:44] nisses insane
Verified on XP Home SP3 .NET 3.5 SP1.
[26 Aug 2009 14:45] nisses insane
Verified on XP Professional SP3 .NET 3.5 SP1
[27 Aug 2009 3:57] Justin Noel
Same problem in Mac OS X as reported in http://bugs.mysql.com/bug.php?id=46943 (duplicate).  Will attach screenshot to this post.
[27 Aug 2009 3:59] Justin Noel
Example of incorrect diagram.

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

[27 Aug 2009 6:07] Valeriy Kravchuk
Bug #46943 was marked as a duplicate of this one.
[27 Aug 2009 13:04] Johannes Taxacher
this has been fixed.
fix will be included in 5.1.18
[28 Aug 2009 7:25] Tony Bedford
An entry was added to the 5.1.18 changelog:

When the datatype of a table column was changed in the Table Editor, it was not reflected in the EER Diagram, although the tooltip was udpated correctly. This only happened in MySQL Workbench 5.1.17.
[2 Sep 2009 15:36] Valeriy Kravchuk
Bug #47068 was marked as a duplicate of this one.