Bug #59932 List of EER diagrams is not updated when diagram is deleted, causing crash
Submitted: 4 Feb 2011 4:20 Modified: 11 Mar 2011 17:19
Reporter: Nicholas Sherlock Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.2.31a OS:Windows
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: regression

[4 Feb 2011 4:20] Nicholas Sherlock
Description:
When a diagram is deleted from a model, the icon for it is not removed from the Model Overview section. Trying to open the deleted model causes Workbench to crash.

How to repeat:
1. Create a new model.
2. Double click the "Add Diagram" button to add a diagram to it.
3. Close the diagram tab that opens.
4. Right click on the "EER Diagram" icon that has been created and choose "Delete 'EER Diagram'"
5. The diagram icon does not disappear as it should. Double click on the icon - crash!
[4 Feb 2011 7:43] Valeriy Kravchuk
Verified on 32-bit Windows XP SP3.

Stack trace is:

Exception = System.Runtime.InteropServices.SEHException
Message = External component has thrown an exception.
FullText = System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at MySQL.Grt.ListModel.activate_node(NodeId node)
   at MySQL.GUI.Workbench.ModelOverviewForm.listViewDoubleClick(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
   at System.Windows.Forms.ListView.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)
[8 Feb 2011 3:35] Alfredo Kojima
fixed
[11 Mar 2011 17:19] Johannes Taxacher
fix confirmed in release
[16 Mar 2011 21:38] Johannes Taxacher
Bug #60020	has been marked as duplicate