Bug #52640 Funky Revert not updating
Submitted: 6 Apr 2010 23:36 Modified: 20 Apr 2010 16:36
Reporter: Martin Pirringer Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.17 OS:Any
Assigned to: CPU Architecture:Any
Tags: modeling, sql editor

[6 Apr 2010 23:36] Martin Pirringer
Description:
THis behavior applies to both the "Alter Table" in the SQL editor and the table editor in modeling (only difference is that there it is the "UNDO" feature when right clicking in the code area

How to repeat:
In SQL Editor Select a table

1.) Add a BEFORE INSERT TRIGGER
2.) Click apply
3.) Now add a BEFORE UPDATE TRIGGER
4.) Click apply

Close window and open it again by clicking "ALTER TABLE"

5.) Click "Revert" (BEFORE UPDATE TRIGGER  disappears)
6.) Click Apply - Message - Nothing to apply and nothing happens

Suggested fix:
Either Dont revert on the screen (have trigger disappear) or update with a warning when hitting "Update"
[12 Apr 2010 10:24] Valeriy Kravchuk
Thank you for the bug report. Verified just as described on Windows XP.
[20 Apr 2010 16:36] Johannes Taxacher
this has been fixed in current release