Bug #67435 changing pk field name from "name" to "id"
Submitted: 31 Oct 2012 7:53 Modified: 31 Oct 2012 13:24
Reporter: Stephan Wessels Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.44 OS:Windows (Microsoft Windows XP Home Edition Service Pack 3 (build 2600))
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[31 Oct 2012 7:53] Stephan Wessels
Description:
changing pk field name from "name" to "id"

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

MySQL Workbench CE for Windows version 5.2.44  revision 9933
Configuration Directory: C:\Users\Sile\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft Windows XP Home Edition Service Pack 3 (build 2600)
CPU: 4x Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz, 3.9 GiB RAM
Active video adapter (0): NVIDIA GeForce GT 540M
Installed video RAM: 2047 MB
Current video mode: 1366 x 768 x 4294967296 colors
Used bit depth: 32
Driver version: 9.18.13.697
Installed display drivers: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Current user language: English (United States)

Exception = System.NullReferenceException
Message = Object reference not set to an instance of an object.
FullText = System.NullReferenceException: Object reference not set to an instance of an object.
   at MySQL.Utilities.AdvNodeTextBox.textBox_TextChanged(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
   at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)
   at System.Windows.Forms.TextBoxBase.WmReflectCommand(Message& m)
   at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
   at System.Windows.Forms.TextBox.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:
I dont really know how to repeat
[31 Oct 2012 13:10] Ruben Dario Morquecho Valdez
Could you please provide steps done? in order to reproduce bug

Thank you for your interest in MySQL.
[31 Oct 2012 13:24] Stephan Wessels
Okay this is how it happened but i doubt that you will be able to reproduce it as i could not reproduce it.
In normal table view not diagram view I created a table 'brand' When i created the first field I accidentally named it 'name'. I then edited it and changed it to id and as soon as I changed fields the error popped up. after i reported the error the field jumped back to 'name' and the interface was in working order but changes made kept on reverting to there old values. I had to restart workbench to get it working again.

Also note that i was running workbench on my second screen not my primary. And the 2 resolutions differ.