Bug #52728 Routine Editor doesn't ask to apply changes
Submitted: 9 Apr 2010 18:03 Modified: 21 Apr 2010 10:06
Reporter: Johannes Taxacher Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S2 (Serious)
Version:5.2.17 OS:MacOS
Assigned to: Alfredo Kojima CPU Architecture:Any

[9 Apr 2010 18:03] Johannes Taxacher
Description:
If routine code has been changed in editor, the editor window can be closed without a warning or question if the changes should be applied.
This is true for MacOS and Linux versions (windows version already has that feature)

How to repeat:
- open a routine editor by selecting "alter routine..." from its context menu
- change routine code
- close the editor window (either by the window-decoration-close-icon or by hitting the editors close button)
no warning or question to save changes is shown

Suggested fix:
add same dialog as in windows version, that asks for applying the changes before the editor is dismissed
[12 Apr 2010 14:42] Alfredo Kojima
Fixed in linux and mac
[12 Apr 2010 19:57] Johannes Taxacher
fixed in repository
[21 Apr 2010 10:06] Tony Bedford
An entry has been added to the 5.2.18 changelog:

In the SQL Editor, if a routine was altered in the routine editor, it was possible to close the editor without the editor prompting you to save any changes made, and so changes were lost.