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 173728 - It's possible to create toolbars with similar names with leading or trailing spaces
Summary: It's possible to create toolbars with similar names with leading or trailing ...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks: 162137
  Show dependency tree
 
Reported: 2009-10-05 10:30 UTC by alex_pst
Modified: 2009-10-09 23:09 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-10-05 10:30:10 UTC
During verification of new toolbar's name uniqueness, the name of it should be trimmed.

Launch NB
Make right click on toolbar and select Customize
In opened dialog press "New Toolbar" button to create new toolbar
Enter name which looks like name of already existing toolbar, but add leading or trailing space
Comment 1 Stanislav Aubrecht 2009-10-05 15:48:51 UTC
core-main 364ea7796859
Comment 2 Quality Engineering 2009-10-09 23:09:53 UTC
Integrated into 'main-golden', will be available in build *200910091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/364ea7796859
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #173728 - trim new toolbar name