Bug #33171 Misleading window subtitle when creating ALTER script
Submitted: 12 Dec 2007 16:02 Modified: 21 Feb 2008 20:51
Reporter: Peter Lavin Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.10 OS:Windows (XP)
Assigned to: Johannes Taxacher CPU Architecture:Any
Tags: alter script, diff tree

[12 Dec 2007 16:02] Peter Lavin
Description:
When creating an ALTER script the subtitle of the "SQL Diff Tree" window reads:

Review the Diff Tree and Choose Application Direction

This is misleading because there is no way to choose the application direction.

How to repeat:
Import a DDL script using the "Reverse Engineer MySQL Create Script" menu option. Make changes to the database objects. Choose the File -> Export -> Forward Engineer SQL Alter Script menu option. Choose the original DDL file as the "Input" file on the first window and click "Next". In the "SQL Diff Tree" window view the details of the changes by clicking the "+" button. The directionality of the changes is properly indicated but cannot be changed.

Suggested fix:
Change the subtitle of this page to read:

Review the Diff Tree and Application Direction
[21 Feb 2008 11:08] Vladimir Kolesnikov
You choose the direction to apply your changes by clicking on the arrows in the tree. In only case when an arrow is disabled and cannot be chnaged is when there's no changes in the object. Otherwise there are 3 possible states - apply to script (i.e. generate ALTER), apply to model (i.e. modify the grt tree), ignore the changes for this object.
[21 Feb 2008 20:51] Peter Lavin
Sorry -- I didn't realize that you can in fact the directionality of a change so the title is not misleading.