Bug #53807 Blank Layer Name throws Exception
Submitted: 19 May 2010 14:03 Modified: 14 Jun 2010 10:58
Reporter: Kim Upper Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.21 OSS RC OS:Windows (Windows 7 x64)
Assigned to: Mike Lischke CPU Architecture:Any

[19 May 2010 14:03] Kim Upper
Description:
In the Layer Tree box, select a layer. Delete the name of the layer. Click anywhere. Unhandled exception message.

How to repeat:
See above

Suggested fix:
Handle the exception with a message saying a layer must be named or a blank layer name is not allowed.
[19 May 2010 14:08] MySQL Verification Team
I couldn't repeat on Windows Vista X86_64.
[19 May 2010 14:44] Valeriy Kravchuk
I also do not get exception on 32-bit XP SP3, but it means empty layer name is accepted, and this is still wrong.
[7 Jun 2010 11:11] Mike Lischke
Fixed in repository. Actually, renaming entries in the layer tree is now disabled. The object editor is the way to go.
[11 Jun 2010 16:10] Johannes Taxacher
fix confirmed in repository
[14 Jun 2010 10:58] Tony Bedford
An entry has been added to the 5.2.23 changelog:

In the Layer Tree panel, if a layer was given a blank name, then MySQL Workbench subsequently crashed, rather than warning about the use of a blank name.