Bug #47482 Exporting Create sql script gives an empty file
Submitted: 21 Sep 2009 13:10 Modified: 25 Nov 2009 11:51
Reporter: Leif Inge Sandberg Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.3, 5.2.6 OS:Windows
Assigned to: Alexander Musienko CPU Architecture:Any

[21 Sep 2009 13:10] Leif Inge Sandberg
Description:
Opening my old mwb file (saved with Wb 5.2.2) I found all 47 tables as expected. When selecting Export SQL Create script, verifying that the tables were selected for export, I got an empty textbox where I expected to see a preview of the SQL script. After finishing the export I found an empty file (size 0).

Tried another export after importing the old SQL script - same result. I clicked "Copy to clipboard" on the final export window. Then Wb crashed and gave this message:

"Unknown Exception caught in c:\documents and settings\mysqldev\my documents\visual studio 2008\projects\workbench52\backend\windows\wbprivate.wr\src\Wb.h at line 1085."

I have imported the old db model via its create script, but still no export data.

How to repeat:
It seems the old mwb file must contain some tables; it worked ok with a test model having only one table. Or maybe it's the character set; the test model has latin1_swedish_ci, while my real model that reveals the bug has utf8_general_ci.
[21 Sep 2009 18:04] Valeriy Kravchuk
I can't repeat with my old .mwb files this neither on Mac OS X nor on Ubuntu. It may be Windows-specific bug. Still, it  would be nice to have some .mwb file that demonstrates this behavior.
[21 Oct 2009 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[22 Oct 2009 8:26] Leif Inge Sandberg
I uploaded the requested file (marked as private, but I'd assume support has access to these comments as well) one month ago, and now the bug is closed due to lack of feedback??

The bug is there even in the latest 5.2.6 release.
[13 Nov 2009 9:56] Susanne Ebrecht
Verified as described on Windows by using the given mwb file.
[25 Nov 2009 11:33] Johannes Taxacher
fixed in repository. will be included in 5.2.9
[25 Nov 2009 11:51] Tony Bedford
An entry was added to the 5.2.9 changelog:

The Forward Engineer SQL Script wizard did not generate the export script. On the Review SQL Script page of the wizard the review panel was blank. Further, clicking Copy to Clipboard generated the following exception:

Unknown Exception caught in c:\documents and settings\mysqldev\my documents\visual
studio 2008\projects\workbench52\backend\windows\wbprivate.wr\src\Wb.h at line 1085.