Bug #50108 Model notes and SQL scripts contents are not saved
Submitted: 6 Jan 2010 16:40 Modified: 15 Jan 2010 16:03
Reporter: Andrea Bergamasco Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.11 OSS Beta - Revision 4842 OS:Windows (XP SP3)
Assigned to: Mike Lischke CPU Architecture:Any
Tags: notes sql scripts

[6 Jan 2010 16:40] Andrea Bergamasco
Description:
Whenever i create a model note or a sql script and edit its text content, once opened again it appears as empty.

How to repeat:
- create new MySQL model

- create new Model note
- type some text
- close and reopen the note, it appears empty

- create new SQL script
- type some SQL
- close and reopen the script, it appers empty

If you rename the note or the script the new name is kept but not the content.

Suggested fix:
When you type text in sql scripts or model notes the changement is not detected so you're not asked to save when you close the model.
Looks like the text typed vanishes because it's not written in the file.
[7 Jan 2010 9:46] Johannes Taxacher
this editor misses the toolbar containing the buttons "apply/cancel" and "import/export"
[7 Jan 2010 14:59] Mike Lischke
Fixed in 5.2
[13 Jan 2010 17:07] Johannes Taxacher
fix confirmed. will be included in 5.2.12
[15 Jan 2010 16:03] Tony Bedford
An entry has been added to the 5.2.12 changelog:

On the Model page, if some text was entered into a note in Model Notes, then the model saved and closed, on reloading the note would be empty.

This also happened for a script added in SQL Scripts. After the model was saved and reloaded, the script would be empty.