Bug #67197 Cant edit some tables in a EER diagram
Submitted: 11 Oct 2012 21:38 Modified: 11 Oct 2012 22:27
Reporter: Angel Gonzalez Email Updates:
Status: Duplicate Impact on me:
Category:MySQL Workbench: Modeling Severity:S5 (Performance)
Version:5.2.41 OS:Microsoft Windows (Microsoft Windows 7 Ultimate Edition Service Pack 1 (build 7601), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[11 Oct 2012 21:38] Angel Gonzalez
Cant edit some tables in a EER diagram when change the edition to another tables

----- Developer Notes -----

MySQL Workbench CE for Windows version 5.2.41  revision 9727
Configuration Directory: C:\Users\AngelBroz\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft Windows 7 Ultimate Edition Service Pack 1 (build 7601), 64-bit
CPU: 8x AMD FX(tm)-8120 Eight-Core Processor, 8.0 GiB RAM
Active video adapter (0): AMD Radeon HD 6800 Series
Installed video RAM: 1024 MB
Current video mode: 1920 x 1080 x 4294967296 colores
Used bit depth: 32
Driver version: 8.961.0.0
Installed display drivers: aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.dll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Current user language: Español (México)

Exception = System.InvalidCastException
Message = No se puede convertir un objeto de tipo 'MySQL.Forms.ToolBarItemImpl' al tipo 'MySQL.GUI.Workbench.Plugins.DockablePlugin'.
FullText = System.InvalidCastException: No se puede convertir un objeto de tipo 'MySQL.Forms.ToolBarItemImpl' al tipo 'MySQL.GUI.Workbench.Plugins.DockablePlugin'.
   en MySQL.GUI.Workbench.Plugins.DockablePlugin.GetFromFixedPtr(IntPtr ptr)
   en MySQL.GUI.Workbench.MainForm.ShowPlugin(IntPtr ptr)
   en MySQL.Forms.AppImpl.show_editor_wrapper(UInt32 native_handle)
   en boost.detail.function.void_function_invoker1<void (__cdecl*)(unsigned int),void,unsigned int>.invoke(function_buffer* function_ptr, UInt32 a0)
   en wb.ModelDiagramForm.handle_mouse_double_click(ModelDiagramForm* , MouseButton , Int32 , Int32 , EventState )
   en MySQL.Workbench.ModelDiagramFormWrapper.OnMouseDoubleClick(MouseEventArgs e, Int32 X, Int32 Y, Keys keystate, MouseButtons buttons)
   en MySQL.GUI.Workbench.ModelDiagramForm.CanvasPanel_MouseDoubleClick(Object sender, MouseEventArgs e)
   en System.Windows.Forms.Control.OnMouseDoubleClick(MouseEventArgs e)
   en MySQL.Utilities.WindowsCanvasViewerPanel.OnMouseDoubleClick(MouseEventArgs e)
   en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
Create an EER diagram, edit a table1, try to edit table2 and try ti  edit table1
[11 Oct 2012 22:27] Angel Gonzalez
Sorry was already reported and this is fixed in new versions.