| Bug #50764 | Bug When Entering Foreign Keys | ||
|---|---|---|---|
| Submitted: | 31 Jan 2010 10:50 | Modified: | 1 Mar 2010 11:35 |
| Reporter: | Martin Pirringer | Email Updates: | |
| Status: | No Feedback | Impact on me: | |
| Category: | MySQL Workbench: Modeling | Severity: | S3 (Non-critical) |
| Version: | 5.2.15 | OS: | Windows (7) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | exception, foreign key | ||
[31 Jan 2010 10:50]
Martin Pirringer
[1 Feb 2010 11:35]
MySQL Verification Team
I couldn't repeat this issue, please provide your project file which cause that behavior or a sequences of pictures which show how to repeat?. Thanks in advance.
[17 Feb 2010 10:53]
Be Wa
I have encountered the same problem with different versions, this very minute repeated with last version.
How to reproduce:
All the tables I created were in the diagram
I created a table called g.
columns: id (int, pk,nn,un)
I created a table called p.
columns: id (int, pk,nn,un)
p (tinyint, pk,nn,un)
foreign key: column id references column id of table g
[so far, no problem]
I created a table called a.
columns: gid (int, pk,nn,un)
pid (tinyint, pk,nn,un)
ida (bigint, nn,un)
foreign key: column gid references column id of table p [not table g!]
column pid references column p of table p [ERROR]
The error occured exactly when clicking the checkbox in the right side of the "foreign keys" tab (the checkbox in the column named "Column", left to "Referenced Column".)
If I manage to close the error-window, I may even save the model and upload it.
[18 Feb 2010 23:17]
Leslie Brown
Just encountered the identical problem, but I may have a scenario that allows you to reproduce it. (I'd already created several foreign keys without problems.) Here's the context, stripped of extraneous details: Two tables, B and D that contain a reference to the same table C. In Table D, I create a foreign key on column c_id, pointing to the primary index of table C (no comment, options left at default values). Immediately, I double-click on table B (which is displayed collapsed) to perform the identical edit: a foreign key on column c_id, pointing to the primary index of table C. The "bug" window flashes up... Note that the foreigh key DOES get created in table B !
[2 Mar 2010 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
