Bug #34976 Changes to VIEWS can be overwritten

Submitted: 1 Mar 2008 22:10 Modified: 15 Mar 2008 12:48
Reporter: Tony Freixas Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.14a OS:Windows (XP SP2)
Assigned to: Mike Lischke CPU Architecture:Any
Tags: save, Views

[1 Mar 2008 22:10] Tony Freixas
Description:
If you edit a view and then select File -> New, the current schema is deleted without any warning.

Note that creating a new View sets the schema's "dirty" flag, but editing an existing View does not. This problem may occur elsewhere

How to repeat:
Open a schema.
Create a view and edit it.
Save the file.
Make a change to the view.
Select File -> New
The existing schema is deleted without warning.

Suggested fix:
Make sure any editing changes mark the current schema as needing a change.
[3 Mar 2008 13:24] MySQL Verification Team
Thank you for the bug report.
[13 Mar 2008 16:54] Johannes Taxacher
is fixed in SVN Rev 2738
[15 Mar 2008 12:48] MC Brown
A note has been added to the 5.15 changelog: 

Creating a new file after changing an existing file with modifications could lead to the original being deleted without prompting to save the changes.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.