Bug #53559 Diagram Size: grid allows invalid values
Submitted: 11 May 2010 11:00 Modified: 11 Jun 2010 13:51
Reporter: charl retief Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.20 BETA OS:Windows
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: Diagram size, grid

[11 May 2010 11:00] charl retief
Description:
When going to `Model` -> 'Diagram Properties and Size...`

The width and height edit boxes allow you to enter a value of upto 100 pages each. Values of more than 100 is automatically changed back to 100. [CORRECT]

The grid allows you to select values of more than 100 pages (width or height).
[WRONG]

When you select a value of more than 100 pages in the grid you get a 'MySQL Workbench Unexpected Error'. The error message says "Value of '176' is not valid for 'Value'.'Value' should be between the 'Minimum' and 'Maximum'. Parameter name: Value

How to repeat:
Open the 'Diagram Size' dialog.

Enter a value of 100 width and 100 height in the edit fields. Now click on the bottom right block in the grid.

Suggested fix:
Limit the selectable area in the grid to the max number of pages.
[11 May 2010 12:17] MySQL Verification Team
Thank you for the bug report.
[16 May 2010 3:04] Alfredo Kojima
Changed to limit to 100
[8 Jun 2010 4:07] Alfredo Kojima
fixed
[9 Jun 2010 19:52] Johannes Taxacher
fix confirmed in repository
[11 Jun 2010 13:51] Tony Bedford
An entry has been added to the 5.2.23 changelog:

In the Diagram Size dialog, displayed using Model, Diagram Properties and Size, it was possible to set the size to 100 pages by 100 pages, but then click outside this area. This caused an MySQL Workbench Unexpected Error.