Bug #51605 Can not create relations between tables
Submitted: 1 Mar 2010 12:11 Modified: 4 Apr 2010 13:02
Reporter: Yanis Van der Merwe Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.16 OS:Windows
Assigned to: CPU Architecture:Any

[1 Mar 2010 12:11] Yanis Van der Merwe
Description:
Exception = System.Runtime.InteropServices.SEHException
Message = External component has thrown an exception.
FullText = System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at bec.FKConstraintColumnsListBE.get_column_is_fk(FKConstraintColumnsListBE* , NodeId* )
   at MySQL.Grt.Db.FKConstraintColumnsListBE.get_column_is_fk(NodeId node)
   at MySQL.GUI.Workbench.Plugins.DbMysqlTableFkColumnListModel.columnEnabledFkNodeControl_CheckStateChanged(Object sender, TreePathEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at Aga.Controls.Tree.NodeControls.NodeCheckBox.OnCheckStateChanged(TreePathEventArgs args)
   at Aga.Controls.Tree.NodeControls.NodeCheckBox.OnCheckStateChanged(TreeNodeAdv node)
   at Aga.Controls.Tree.NodeControls.NodeCheckBox.SetCheckState(TreeNodeAdv node, CheckState value)
   at Aga.Controls.Tree.NodeControls.NodeCheckBox.MouseDown(TreeNodeAdvMouseEventArgs args)
   at Aga.Controls.Tree.TreeViewAdv.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
try to create a relation between to tables
[1 Mar 2010 15:49] Johannes Taxacher
We would need some more info on that issue please:
- Is the problem persistent or did it just happened occasionally?  
- Are you connecting columns on the diagram using your mouse or setting up the FKs manually in the table editor?
- What version of Workbench are you using? (most recent would be 5.2.16 currently)
thanks in advance
[1 Mar 2010 18:43] Yanis Van der Merwe
I am not using 5.2.16, but the problem persists each time i use the FK table editor
[1 Mar 2010 18:55] Valeriy Kravchuk
What exact version of WB do you use? If it is NOT 5.2.16, please, upgrade and check if the problem is repeatable.
[1 Mar 2010 19:08] Yanis Van der Merwe
Hi, the version is 5.2.16 and the problem does repeat.
[1 Mar 2010 21:00] Johannes Taxacher
Yanis, are you experiencing that problem while working on an EER document or when working with live DB objects in SQL Query Mode?
[2 Mar 2010 5:40] Yanis Van der Merwe
It happens when i work on an EER document
[4 Mar 2010 13:02] Susanne Ebrecht
Which operation system version do you use?
[4 Apr 2010 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".