Bug #20636 duplicate phantom relationships created by applying changes
Submitted: 22 Jun 2006 20:58 Modified: 22 Jun 2006 22:55
Reporter: Geoffrey Hoffman Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Preview Severity:S2 (Serious)
Version:1.0.6 Beta OS:Windows (Windows XP)
Assigned to: CPU Architecture:Any

[22 Jun 2006 20:58] Geoffrey Hoffman
Description:
When attempting to create or edit foreign keys, MWB creates phantom duplicate relationship lines that are usually impossible to delete. It continues to add duplicate phantom relationships every time you press 'Apply Changes'.

How to repeat:
1) Create a relationship between two tables.
Then access the table edit window for either of the tables.
Try modifying or adding additional columns, indeces or fkeys.
Click Apply Changes. Each time you click Apply changes you get more relationship lines.

2) Click any relationship tool.
Click table A then C. (R1 rel is drawn correctly)
Click any relationship tool.
Click table B then C. (R2 rel is drawn, now a phantom duplicate of R1 appears next to R1.)

Suggested fix:
When modifying any table's properties, the relationsips should not be modified unless they are part of the current alteration.
[22 Jun 2006 22:55] MySQL Verification Team
Thank you for the bug report. Duplicate of bug:
http://bugs.mysql.com/bug.php?id=20079