Bug #33444 Tables and other canvas elements can have the same name
Submitted: 21 Dec 2007 6:08 Modified: 30 Jan 2008 11:46
Reporter: Mike Willbanks Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.11 SE Beta OS:Windows (XP 64-Bit/Vista 64-bit)
Assigned to: CPU Architecture:Any
Tags: table name, view name

[21 Dec 2007 6:08] Mike Willbanks
Description:
Presently in the EER diagram it allows you to create multiple tables of the same name.  This could potentially cause problems where a user creates a table twice which could potentially have different implementation than that of the initial table.

How to repeat:
1. Create a new EER Diagram
2. Add two of the same tables with different implementations

Suggested fix:
On table creation when a name is created, check the name to see if it doesn't already exist on the canvas.  If it does, optionally automatically change the table name to have an _1 or show a notice.
[21 Dec 2007 11:29] MySQL Verification Team
Thank you for the bug report.
[30 Jan 2008 11:46] Johannes Taxacher
This is expected behaviour. WB provides a validation module which warn the user of problems like this. 
We will add a "auto-check" feature which runs selected validations before exporting/synchronizing the model.