Bug #17942 Can't add comment in table editor
Submitted: 5 Mar 2006 19:33 Modified: 6 Mar 2006 16:06
Reporter: Roland Bouman Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Workbench Preview Severity:S3 (Non-critical)
Version:1.0.5 beta OS:Windows (win xp/win2ksp4)
Assigned to: CPU Architecture:Any

[5 Mar 2006 19:33] Roland Bouman
Description:
The last tab in the table editor, 'Comment' has room to enter a comment (this is supposedly added in the ddl too when creting sql scripts)

However, when I enter a comment text, the 'Apply changes' button remains disabled.
Entering a comment and then adding a column enables the button so you can save the changes, however, the comment is gone when you open the editor again (the column that was added is still there though)

How to repeat:
Create a table
Open the table editor
Activate the comments tab, enter comment text (note the apply changes button remains disabled)
Activate the columns tab and add a column.
Enterthe Apply changes button
Close the table editor

Open the table editor again for that table. Comment is now gone, but the column is still there

Suggested fix:
Save the comment
[5 Mar 2006 19:33] Roland Bouman
sorry, had a typo in the title
[6 Mar 2006 16:06] MySQL Verification Team
Verified exactly as described above, on Win2000 SP4. The comments are lost from the comment tab. Even if you first make a change to a column, then click apply on the comment table, the comment vanishes when reopening the table editor.