Bug #65574 Adding Comments to table definitions causes "index out of range"
Submitted: 9 Jun 2012 17:04 Modified: 27 Jul 2012 7:47
Reporter: Eric Thompson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.2.40 OS:Windows (Microsoft Windows XP Professional Service Pack 3 (build 2600))
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: WBBugReporter

[9 Jun 2012 17:04] Eric Thompson
Description:
when attempting to add a comment to a table: "Index was out of range.  Must be non-negative and less than the size of the collection.  Parameter name: index"
Comment is not retained

How to repeat:
try to insert a Comment in a table
[10 Jun 2012 17:57] Alfredo Kojima
Repeated with:

- edit random table in model
- select column
- type random garbage in comment
- select another column
- type random garbage in comment
- goto 1st step until crash
[10 Jun 2012 17:59] Alfredo Kojima
bug #65536 and bug #65303 are duplicates
[18 Jun 2012 12:49] Valeriy Kravchuk
Bug #65650 was marked as a duplicate of this one.
[19 Jun 2012 15:21] Alfredo Kojima
Bug #65656	 is a duplicate
[24 Jun 2012 13:47] Valeriy Kravchuk
Bug #65718 was marked as a duplicate of this one.
[8 Jul 2012 7:42] Valeriy Kravchuk
Bug #65843 is a duplicate.
[18 Jul 2012 7:33] Valeriy Kravchuk
Bug #65933 was marked as a duplicate.
[27 Jul 2012 7:47] Philip Olson
Fixed as of Workbench 5.2.41, and here's the changelog entry:

Comments and collation controls are now disabled until a column
in the column editor is selected. Before it was always
available, so invalid entries would attempt to be created, which
would result in an error.