Bug #67636 Auto-saving table insert lines before switching table causes crash
Submitted: 19 Nov 2012 15:03 Modified: 19 Nov 2012 15:14
Reporter: Damien Flament Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.2.44 OS:MacOS (Darwin 10.8.0)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[19 Nov 2012 15:03] Damien Flament
Description:
This crash occurs when adding at least one line using the "Inserts" tab of the table properties editor.
When switching to another table (by double-clicking on it in the model view) without validating inserts changes, a popup open, asking for saving modifications.
If "Save changes" button is clicked, application crashes and must be restarted.
After restarting, previously edited EER model is shown as broken and application ask for recovery. Recovered model doesnt not includes previously added inserts before crash.

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

MySQL Workbench CE for Mac OS X version 5.2.44  revision 9933
Configuration Directory: /Users/damien/Library/Application Support/MySQL/Workbench
Data Directory: /Applications/MySQLWorkbench.app/Contents/Resources
Cairo Version: 1.9.1
OS: Darwin 10.8.0
CPU: 2x Intel(R) Core(TM)2 Duo CPU     P7550  @ 2.26GHz, 2.0 GB RAM

How to repeat:
- Open EER model
- Start editing table by double-clicking on it (in model view)
- Click on the "Inserts" tab
- Add one line to insert
- Do NOT apply modifications
- In model view, double-click on another table in order to edit it
- A popup message window opens asking to save changes (previously added lines),  click on "Save changes"
- The application crash
[19 Nov 2012 15:07] Damien Flament
Log file generated before crash

Attachment: wb.2.log (application/octet-stream, text), 1.60 KiB.

[19 Nov 2012 15:14] Damien Flament
Duplicate from #67237