Bug #35516 WB ignores per-model options
Submitted: 24 Mar 2008 17:07 Modified: 28 Mar 2008 17:25
Reporter: Bastian Grupe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.15-rc1 OS:Windows (Vista 64 SP1)
Assigned to: Alfredo Kojima CPU Architecture:Any

[24 Mar 2008 17:07] Bastian Grupe
Description:
When disabling global settings for a model, local settings are ignored.

How to repeat:
1. Create a new model.
2. Go to Model -> Model options... and disable global settings.
3. Change the "Primary Key Column Name" to e.g. id12345 instead of id
4. Add a new table in the model
5. Go to columns
6. The global setting (in my case "id") is used, instead of id12345

Another curiosity:

If you change the "Primary Key Column Type" to e.g. VARCHAR and add a new table, an uncaught exception will be thrown (memory access violation):

************** Ausnahmetext **************
System.AccessViolationException: Es wurde versucht, im geschützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis darauf, dass anderer Speicher beschädigt ist.
   bei mdc.CanvasView.handle_mouse_move(CanvasView* , Int32 , Int32 , EventState )
   bei MySQL.GUI.Mdc.BaseWindowsCanvasView.OnMouseMove(MouseEventArgs e, Keys keystate, MouseButtons buttons)
   bei MySQL.Utilities.WindowsCanvasViewerPanel.OnMouseMove(MouseEventArgs e)
   bei System.Windows.Forms.Control.WmMouseMove(Message& m)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[24 Mar 2008 18:12] Valeriy Kravchuk
Thank you for a bug report.
[26 Mar 2008 2:33] Johannes Taxacher
fixed in SVN Rev 2868
[28 Mar 2008 17:25] MC Brown
A note has been added to the 5.0.16rc changelog: 

When disabling global options on an individual model would fail to honour the model specific options would be ignored.