Bug #53114 Graphical export tries to open new EER diagram
Submitted: 23 Apr 2010 14:20 Modified: 23 Apr 2010 14:51
Reporter: Ross Westerbur Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.19 beta OS:Windows (XP sp3)
Assigned to: CPU Architecture:Any

[23 Apr 2010 14:20] Ross Westerbur
Description:
If I try any of the following: 

- Export as PNG... 
- Export as SVG... 
- Export as Single Page PDF... 
- Export as Single Page PostScript File... 
- Print to PDF... 
- Print to PS File... 

I first get the appropriate Save dialog having the correct title reflecting the selected export. However, upon entering a filename for the export file and clicking Save, I get an alert that says "Opening another model will close the currently open model. Do you wish to proceed opening it?" Clicking "Yes" gives a "could not locate file" error message pointing to the filename I was trying to save to.

In other words...these functions all appear to be trying to open a new EER diagram, rather than perform the requested export.

The corresponding features work as I expect them to in 5.1...and text-exports seem to work fine for me in 5.2.19 (e.g. Forward Engineer SQL CREATE Script).

How to repeat:
Create a new EER Model, then add a new diagram.

Add a table to the diagram and save the model.

Do any graphical export:
- Export as PNG... 
- Export as SVG... 
- Export as Single Page PDF... 
- Export as Single Page PostScript File... 
- Print to PDF... 
- Print to PS File...

Select a filename to save the export to and click Save.

Instead of the expected export, dialog opens: "Opening another model will close the currently open model. Do you wish to proceed opening it?" Clicking "Yes" gives a "could not locate file" error message pointing to the requested export filename.
[23 Apr 2010 14:51] Valeriy Kravchuk
This is a duplicate of Bug #52909.