Bug #49631 Synchronize Model will revert all my previously hidden foreign keys to visible
Submitted: 11 Dec 2009 20:47 Modified: 14 Dec 2009 16:13
Reporter: David Peace Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.1.18 r 4456 OS:Windows
Assigned to: CPU Architecture:Any
Tags: foreign keys, synchronize

[11 Dec 2009 20:47] David Peace
Description:
When you synchronize your model, any hidden foreign key lines get set back to visible.

How to repeat:
Steps to reproduce:

1) Design an EER database diagram.
2) Double click on any foreign key line, and set the "Visibility Settings" to "Draw Split" or "Hide".
3) Synchronize your model.  

Now you'll see all of the hidden foreign keys re-emerge as "Fully Visible"

A resolution to this would be greatly appreciated.

Suggested fix:
Ensure the visibility settings on foreign keys are maintained when synchronizing.
[11 Dec 2009 21:47] David Peace
I've confirmed this is also applicable in version: 5.2.10 r 4680
[14 Dec 2009 11:32] Johannes Taxacher
this has been fixed in repository and will be indcluded in 5.2.11
[14 Dec 2009 16:13] Tony Bedford
An entry has been added to the 5.2.11 changelog:

In an EER diagram, if the model was synchronized with a live database, then any foreign key relationship lines that were set to hidden became visible.