Bug #47257 Cancel and Replace are switched
Submitted: 10 Sep 2009 17:09 Modified: 16 Sep 2009 10:39
Reporter: Paul Spieker Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.2 alpha OS:MacOS
Assigned to: CPU Architecture:Any
Tags: regression

[10 Sep 2009 17:09] Paul Spieker
Description:
While exporting SQL (File->Export->Forward Engineer SQL CREATE Script...) and selecting an existing file and pressing "Continue", the buttons in the message dialog are switched.

How to repeat:
Create a new document, export as "Forward Engineer SQL CREATE Script" and selecting an existing .sql file as "Output SQL Script File", than press "Replace" in the dialog of the OS, than press "Continue" and the buttons in the question dialog now appears are switched
[10 Sep 2009 17:35] Valeriy Kravchuk
Verified just as described. 5.1.x does NOT have this problem, so it is a regression bug.

I remember similar older bug report, but can not find it at the moment.
[10 Sep 2009 17:57] Peter Laursen
this one Valeriy referrred to I guess:
http://bugs.mysql.com/bug.php?id=46671

(search with word 'cancel' in Workbench-OSS category in bugs.mysql.com page finds it easy)
[14 Sep 2009 14:38] Johannes Taxacher
has been fixed. fix will be in 5.2.3
[16 Sep 2009 10:39] Tony Bedford
An entry was added to the 5.2.3 changelog:

In the Forward Engineer SQL CREATE script wizard, in the dialog asking for confirmation to overwrite an existing file, clicking the Cancel button led to the wizard proceeding to the next step, while clicking the Replace button led to cancellation of the action. The functionality of the buttons appeared to be reversed.