This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 157424 - It's possible to add J2SE platform with spaces in name only
Summary: It's possible to add J2SE platform with spaces in name only
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Platform (show other bugs)
Version: 6.x
Hardware: PC All
: P4 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 162137
  Show dependency tree
 
Reported: 2009-01-26 09:27 UTC by alex_pst
Modified: 2013-07-25 17:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alex_pst 2009-01-26 09:27:40 UTC
All spaces should be trimmed away and user should enter correct name.

---
Try to add new J2SE platform and on step 3 enter only spaces in "Platform Name" field
Press "Finish"

New platform will be added with spaces in name only
---

It's illogical to have platform name consisting of spaces only and good style to trim away leading and trailing spaces
from user input field.
Comment 1 Peter Pis 2009-01-27 08:50:40 UTC
Reassigning to java.
Comment 2 Tomas Zezula 2013-07-25 17:44:40 UTC
Platform name cannot be empty any more.