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 141282 - Two project groups with the same name lists as one
Summary: Two project groups with the same name lists as one
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 09:06 UTC by polan
Modified: 2012-08-29 02:40 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 polan 2008-07-23 09:06:36 UTC
[Build 200807221016, JDK 1.6.0_6]

To reproduce:
1) Create project group 'a' (any group type)

2) Create another project group 'a' (same or different group type)
ERROR: There is only one 'a' group in project groups list
NOTE: If you rename the visible 'a' group to i.e. 'b', you can see both 'a' and 'b' groups

Seems to me they should be distinctly marked i.e. as a[1] and a[2], or the user shouldn't be allowed to create two
groups with the same name.
Comment 1 Milan Kubec 2008-07-23 15:45:47 UTC
Setting lower priority, since the usecase of creating two project groups with the same name is not very likely. I admit
that it could behave better though.
Comment 2 Milos Kleint 2012-08-27 14:04:23 UTC
http://hg.netbeans.org/core-main/rev/b05024c20cce
Comment 3 Quality Engineering 2012-08-29 02:40:22 UTC
Integrated into 'main-golden', will be available in build *201208290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b05024c20cce
User: Milos Kleint <mkleint@netbeans.org>
Log: #164767, #141282 additional checks for group name validity. not longer than X and not equal to existing