Bug #51541 Modeling allows a Schema comment longer than 60 characters
Submitted: 26 Feb 2010 8:40 Modified: 26 Feb 2010 9:03
Reporter: Andrea Bergamasco Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.16 OSS Beta Revision 5249 OS:Windows (XP SP3)
Assigned to: CPU Architecture:Any
Tags: schema comment wb52

[26 Feb 2010 8:40] Andrea Bergamasco
Description:
While editing a schema it's possible to type a comment longer than 60 characters, this will bring an error while forward engineering the model to the database.

How to repeat:
1) create a new schema
2) type a comment longer than 60 characters
3) forward engineer the script to the database server, the schema creation will fail because the comment is too long.

Suggested fix:
If the length > 60 characters then trim with a warning the comment to 60 characters when the textarea field loses focus.
[26 Feb 2010 8:53] Valeriy Kravchuk
I think that essentially this is a duplicate of bug #38597. Please, check.
[26 Feb 2010 9:03] Valeriy Kravchuk
I think it is just a part of generic WB comments problem described in bug #38597. Solution we plan to implement eventually is outlined there.