Bug #47654 | Can't tick index column in Foreign Keys tab | ||
---|---|---|---|
Submitted: | 25 Sep 2009 22:42 | Modified: | 29 Sep 2009 14:31 |
Reporter: | Fabien Haddadi | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench | Severity: | S3 (Non-critical) |
Version: | 5.1.18 | OS: | Windows (Vista) |
Assigned to: | CPU Architecture: | Any | |
Tags: | foreign key |
[25 Sep 2009 22:42]
Fabien Haddadi
[26 Sep 2009 7:30]
Valeriy Kravchuk
I can not repeat this with WB 5.2.3 on Mac.
[26 Sep 2009 20:01]
MySQL Verification Team
Thank you for the bug report. Could you please provide the project model file (I couldn't repeat on my own). Thanks in advance.
[29 Sep 2009 14:18]
Fabien Haddadi
Ok, I found a workaround : it was due to the fact that the referenced key was INT, and the FK was INT(11). They must be of the same type, INT INT, or INT(11) INT(11), for it to work. I guess a low prio ticket should still be open to improve the error messages. Indeed nothing was said about why I couldn't click on the checkbox.
[29 Sep 2009 14:31]
Fabien Haddadi
Similarly, for a FK field to be ticked, both on the source table and target table, both fields must bear consistent attributes. e.g. not null, unsigned, etc...