Bug #24881 Database Synchronisation appears to fail FROM dbase TO model
Submitted: 7 Dec 2006 11:18 Modified: 7 Dec 2006 19:59
Reporter: paul brian Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Preview Severity:S2 (Serious)
Version:alpha 1.1.6 OS:Windows (Win XP)
Assigned to: CPU Architecture:Any

[7 Dec 2006 11:18] paul brian
Description:
After creating a model by reverse engineering a database, I wish to change the database manually (ie in SQL) and have the model follow the changes.  I am using it as ER diagramming tool not a repository.

I execute the database synchronisation wizard and after the comparison I alter changes to be "apply to model". After that there is a stage with a blank page, then "finish" stage. This finish stage reports that it has placed objects on canvas (possible boiler plate), but the advanced tag shows:

file source\myx_grt_value.c: line 3307: assertion `dict != NULL' failed

How to repeat:
CREATE DATABASE dbfoo;
USE dbfoo;
CREATE TABLE tblfoo1( ID INT, NAME VARCHAR(10));
CREATE TABLE tblfoo2( ID INT, NAME VARCHAR(10));

-- now reverse engineer - see 2x tables on canvas

CREATE TABLE tblfoo3( ID INT, NAME VARCHAR(10));

-- now synchronise   tblfoo3 is not placed on canvas / tree

This also occurs in alpha 1.1.5 for ubuntu

Suggested fix:
I am assuming that database synchronisation is designed to keep a model/canvas layout and be able to add one table without re-aligining all tables on canvas.
[7 Dec 2006 19:59] Sveta Smirnova
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments to the original bug instead.

Thank you for your interest in MySQL.

Duplicates bug #18263