Bug #20176 Table Rename Crashes/Fails
Submitted: 31 May 2006 19:33 Modified: 31 May 2006 19:54
Reporter: Thomas Falgout Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Workbench Preview Severity:S1 (Critical)
Version:1.0.6 Beta1 OS:MacOS (Mac OSX)
Assigned to: CPU Architecture:Any

[31 May 2006 19:33] Thomas Falgout
Description:
I'm unable to rename tables in Workbench.

The following 3 results happen:

--  Workbench crashes
--  Workbench renames the wrong tables
--  Workbench doesn't rename the table

How to repeat:
--  Rename wrong table:
Click on the "Table (T)" icon
Click on the grid (creates table_1)
Click on the "Table (T)" icon
Click on the grid (creates table_2)
Double-Click on "table_2" in the "Layers" box on the Far Right to rename.  
Rename to "test".
"table_1" is also renamed

-- Workbench rename fails:
Click on the "Table (T)" icon
Click on the grid (creates table_1)
Double click on table (opens up table properties)
Change "Table name:" from "table_1" to "test".
Click Apply.
Table Name change should happen, but nothing happens.

-- Workbench crashes:
Unable to 100% reproduce, but this sometimes causes it:
Click on the "Table (T)" icon
Click on the grid (creates table_1)
Click on the "Table (T)" icon
Click on the grid (creates table_2)
Double-Click on "table_1" in the "Layers" box on the Far Right to rename.  
Rename to "test".
Sometimes crashes, but always renames "table_2" to "test".

Suggested fix:
I don't have the code in front of me, but I would recommend fixing the variable name changes and updates.

Thanks!
Tommy.

P.S.  I really, really like Workbench; however, I'm having problems with the stability.  I look forward to seeing it in action as I'm starting a new DB project and would like to use Workbench to model it.
[31 May 2006 19:36] Thomas Falgout
I had the wrong version.  It's actually 1.0.6 Beta 1
[31 May 2006 19:46] Jorge del Conde
Hi!

I was able to reproduce this bug in my 10.4.4. system.  The steps you provided where enough to get WB crashing.

Thanks for your bug report.
[31 May 2006 19:54] Thomas Falgout
Is there a workaround I can use till this bug is resolved?  I'd like to start using WB now and pick up the bug fixes later, rather than use a completely different product and possibly switch later on.

Thanks for the quick response.
[6 Jul 2006 19:13] Andre Matos
Hi Jorge,

it keeps crashing. I am using Mac OS X 10.4.7.

Any solution for this issue?