Bug #70747 | All round buggy table "Inserts" | ||
---|---|---|---|
Submitted: | 28 Oct 2013 12:05 | Modified: | 13 Dec 2013 9:38 |
Reporter: | Chris Brown | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: Modeling | Severity: | S2 (Serious) |
Version: | 6.0.7 | OS: | Windows (7 64 bit) |
Assigned to: | CPU Architecture: | Any | |
Tags: | inserts |
[28 Oct 2013 12:05]
Chris Brown
[28 Oct 2013 12:35]
MySQL Verification Team
Thank you for the bug report. Are you able to provide the model project file (private if you wish)?. Thanks.
[28 Oct 2013 16:43]
Chris Brown
I've added my file - hope it helps. Please remove the file once you're finished with the bugs. No rush, as long as it's not on here forever. It isn't glitching very much for me at the moment - it comes and goes. But I just did a bit of fiddling around with it there before I sent it off and it crashed when I added then removed a row from the config table (without committing them). The config and effects tables are the ones that use the Insert tabs. It usually crashes if I edit them a lot (moreso effects, since there's more than 1 row) then forward engineer with Ctrl+Shift+G, at the generation stage. It's working fine for me at the moment, but like I said, it's quite unpredictable.
[29 Oct 2013 21:21]
MySQL Verification Team
Thank you for the feedback. I was able to repeat only to execute the Forward Engineering after to make some new inserts. Exception = System.InvalidOperationException Message = Operation is not valid because it results in a reentrant call to the SetCurrentCellAddressCore function. FullText = System.InvalidOperationException: Operation is not valid because it results in a reentrant call to the SetCurrentCellAddressCore function. at System.Windows.Forms.DataGridView.SetCurrentCellAddressCore(Int32 columnIndex, Int32 rowIndex, Boolean setAnchorCellAddress, Boolean validateCurrentCell, Boolean throughMouseClick) at System.Windows.Forms.DataGridView.set_CurrentCell(DataGridViewCell value) at System.Windows.Forms.DataGridView.OnClearingColumns() at System.Windows.Forms.DataGridViewColumnCollection.Clear() at MySQL.Controls.GridView.ProcessModelChange() at MySQL.Grt.Db.RecordsetView.ProcessModelChange() at MySQL.Grt.RunWrappedDelegate0<int\,int\,MySQL::Grt::DelegateSlot0<int\,int>::ManagedDelegate>.native_callback() at boost.detail.function.function_invoker0<int (__cdecl*)(void),int>.invoke(function_buffer* function_ptr) at MySQL.Grt.ListModel.refresh() at MySQL.GUI.Workbench.Plugins.DbMysqlTableEditor.insertsTabPage_Enter(Object sender, EventArgs e) at System.Windows.Forms.Control.OnEnter(EventArgs e) at System.Windows.Forms.TabPage.OnEnter(EventArgs e) at System.Windows.Forms.TabPage.FireEnter(EventArgs e) at System.Windows.Forms.TabControl.OnEnter(EventArgs e) at MySQL.Controls.FlatTabControl.OnEnter(EventArgs e) at System.Windows.Forms.Control.NotifyEnter() at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
[16 Nov 2013 22:03]
Fotis Kokkoras
This bug is similar to #70627. There is a video there demostrating the bug.
[11 Dec 2013 20:10]
Armando Lopez Valencia
Posted by developer: FIXED Verified in: Ubuntu13.10x86 Windows 8x64 WB 6.1.0.11452 Wasn't able to reproduce after several attempts, inserts from a Model is working as expected (even with the model provided).
[13 Dec 2013 9:04]
Philip Olson
Fixed as of the upcoming MySQL Workbench 6.0.9 release, and here's the changelog entry: The "Inserts" tab under "Forward Engineering" would sometimes unexpectedly fail. Thank you for the bug report.
[13 Dec 2013 9:38]
Chris Brown
Many thanks guys. Strangely I've not noticed the problem again since, without the fix. Must have been caused by a fairly specific model state.