Bug #13380 Problem opening 1.0.1a files
Submitted: 21 Sep 2005 14:43 Modified: 21 Sep 2005 23:06
Reporter: Owen Franssen Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Workbench Preview Severity:S3 (Non-critical)
Version:1.0.2a OS:Windows (Win XP)
Assigned to: CPU Architecture:Any

[21 Sep 2005 14:43] Owen Franssen
Description:
The canvas only displays giberish when you open a Workbench file saved using version 1.0.1a

How to repeat:
Open any file saved using Workbench 1.0.1a and open it using version 1.0.2a
[21 Sep 2005 14:46] Owen Franssen
Screenshot of error

Attachment: workbench-screenshot.jpg (image/jpeg, text), 66.98 KiB.

[21 Sep 2005 14:47] Owen Franssen
The object tree, however, has managed to load the table structure correctly.
[21 Sep 2005 14:56] Owen Franssen
Copying the following lines taken from a 1.0.2a save file into the offending 1.0.1a save file makes the canvas load properly:

<value type="string" key="name">Main View</value>
<value type="string" key="owner" option="ref">{1EE87A30-17B4-4FF5-B46A-1E9239C5C026}</value>
<value type="list" content-type="dict" content-struct-name="db.workbench.Relationship" key="relationships"/>
[21 Sep 2005 14:57] Owen Franssen
In regard to copying the lines of code as per my previous post, this loads th table diagrams but not the relationship lines.
[21 Sep 2005 15:10] Owen Franssen
Hmm my previous fix only worked once. And the problem opening saved files doesn't appear to be limited to version1.0.1a files either, it does the same to 1.0.2a saved files.
[21 Sep 2005 23:06] Jorge del Conde
Thanks for your bug report.  This also happens in 1.0.3