Bug #49179 | EDIT table data loses data. | ||
---|---|---|---|
Submitted: | 28 Nov 2009 18:11 | Modified: | 15 Jan 2010 13:44 |
Reporter: | Edward Rudd | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench | Severity: | S2 (Serious) |
Version: | 5.2.8 | OS: | MacOS |
Assigned to: | Alfredo Kojima | CPU Architecture: | Any |
[28 Nov 2009 18:11]
Edward Rudd
[28 Nov 2009 18:12]
Edward Rudd
WOAH!!.. Apparently ANY time I edit and apply changes it removed ALL records from the table.
[30 Nov 2009 10:06]
Johannes Taxacher
still true for 5.2.9 (internal build). problem seems to be wrong feedback from WB. By entering data in the example table (as specified by reporter) only for columns `name` and `url_prefix`, the insert should fail, as the `flags` column is defined as NOT NULL. Hitting the apply checkmark to send/commit the data to database) WB reports: "changes applied" - on subsequent actions, WB answers reports "there are pending changes, please commit or rollback first" while it should have reported the unsuccessfull insert in first place. WB inserts data correctly, when I enter a row by just supplying values for columns `name` and `flags`. (as a workaround)
[30 Dec 2009 14:57]
Alfredo Kojima
Following changes were made: - if an error occurs during change apply, a dialog showing the errors will pop up - instead of status text saying "Changes Applied" it will show "Apply failed"
[30 Dec 2009 14:58]
Alfredo Kojima
In addition, the following changes are proposed: - remove textbox from Linux and Windows implementation too and change them to popup dlg - make messages from recordset Apply be also directed to the Output tab, where they belong (please remind when this bug gets reviewed)
[8 Jan 2010 17:53]
Alfredo Kojima
Fixed apply after failure
[13 Jan 2010 10:14]
Johannes Taxacher
this has been fixed. will be included in 5.2.12
[15 Jan 2010 13:44]
Tony Bedford
An entry has been added to the 5.2.12 changelog: In the SQL Editor if an EDIT table operation was being carried out, it appeared that data in the table was not updated, and also a row already inserted would be erroneously deleted when attempting to add a new row of data, when changes were applied. MySQL Workbench has been changed so that if an error occurs during changes being applied, an error dialog is displayed showing any errors that occurred. Also, the status text is now updated to say “Apply Failed”, rather than “Changes Applied”.