Bug #66271 Cannot browse for generating SQL file
Submitted: 9 Aug 2012 7:54 Modified: 9 Sep 2012 5:44
Reporter: Jorg Coevert Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Migration Severity:S2 (Serious)
Version:5.2.41, 5.2.42 OS:Microsoft Windows (Microsoft Windows XP Professional Service Pack 3 (build 2600))
Assigned to: CPU Architecture:Any
Tags: WBBugReporter
Triage: Needs Triage: D2 (Serious)

[9 Aug 2012 7:54] Jorg Coevert
Description:
When I click the "browse" button for the creation of the sql-file in the "Target Creation Options" steps during the migration, I get an error.

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

MySQL Workbench CE for Windows version 5.2.41  revision 9727
Configuration Directory: C:\Documents and Settings\JorgC\Application Data\MySQL\Workbench
Data Directory: C:\Program Files\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)
CPU: 2x AMD Athlon(tm) 64 X2 Dual Core Processor 4400+, 2.0 GiB RAM
Active video adapter (0): NVIDIA GeForce 7300 LE
Installed video RAM: 256 MB
Current video mode: 1680 x 1050 x 4294967296 kleuren
Used bit depth: 32
Driver version: 6.14.11.7516
Installed display drivers: nv4_disp.dll
Current user language: Nederlands (Nederland)

Exception = System.InvalidOperationException
Message = Bestand . is een ongeldige bestandsnaam.
FullText = System.InvalidOperationException: Bestand . is een ongeldige bestandsnaam.
   bij System.Windows.Forms.SaveFileDialog.RunFileDialog(OPENFILENAME_I ofn)
   bij System.Windows.Forms.FileDialog.RunDialogOld(IntPtr hWndOwner)
   bij System.Windows.Forms.FileDialog.RunDialog(IntPtr hWndOwner)
   bij System.Windows.Forms.CommonDialog.ShowDialog(IWin32Window owner)
   bij System.Windows.Forms.CommonDialog.ShowDialog()
   bij MySQL.Forms.FileChooserImpl.run_modal(FileChooser* self)
   bij MySQL.MCallback1<bool\,mforms::FileChooser \*>.cpp_callback(FileChooser* arg1)
   bij MySQL.Forms.ButtonImpl.button_click(Object sender, EventArgs e)
   bij System.Windows.Forms.Control.OnClick(EventArgs e)
   bij System.Windows.Forms.Button.OnClick(EventArgs e)
   bij System.Windows.Forms.Button.WndProc(Message& m)
   bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
When I click the "browse" button for the creation of the sql-file in the "Target Creation Options" steps during the migration, I get an error.
[19 Aug 2012 14:07] Valeriy Kravchuk
Thank you for the bug report. Verified with 5.2.42 on Windows XP also.
[9 Sep 2012 5:44] Philip Olson
Fixed as of the upcoming Workbench 5.2.43, and here's the changelog entry:

 Clicking "Browse" after the "Target Creation Options" stage of the
 database migration wizard would generate an error. 

Thank you for the report.