Bug #34863 Unknown Exception 146 caught in Canvas.h when removing Foreign Key column
Submitted: 26 Feb 2008 21:48 Modified: 1 Mar 2008 3:30
Reporter: Rogier van der Hee Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.0.14 OS:Any
Assigned to: Alfredo Kojima CPU Architecture:Any

[26 Feb 2008 21:48] Rogier van der Hee
Description:
Hi, 

I added a column which I then pointed to as being a foreign key column using the Foreign tab. I had the EER diagram open and added the two new tables, a line connected them showing the foreign key relation. 

When I removed the column that was the foreign key, I received an error message box "Unknown exception caught in "<path>/Canvas.h" at line 146. 

When I then clicked the Canvas, Workbench just crashed...

How to repeat:
When I tried to repeat it by restarting the app and re-adding the foreign key and deleting the column again, the error did not happen because there was no relationship line in the EER diagram, I think.

Shouldn't it automatically add the line when you define a foreign key via the table input form, BTW?
[27 Feb 2008 12:12] MySQL Verification Team
exception Message

Attachment: exception.PNG (image/png, text), 15.97 KiB.

[27 Feb 2008 12:13] MySQL Verification Team
Thank you for the bug report.
[28 Feb 2008 11:14] Johannes Taxacher
could not verify the crash, but the line isn't drawn when FK is created via table-editor
[28 Feb 2008 11:14] Johannes Taxacher
could not verify the crash, but the line isn't drawn when FK is created via table-editor
[28 Feb 2008 13:01] Rogier van der Hee
That is true, I added the FK also in the Table Editor, but then dragged the two tables into an empty EER diagram.

Then the line is drawn, and when you delete the FK, the Canvas crashes...
[1 Mar 2008 3:30] Alfredo Kojima
This seems a duplicate of bug #34816
which is already fixed in svn.