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 74820 - Impossible to add platform with the same name as contains broken platform
Summary: Impossible to add platform with the same name as contains broken platform
Status: VERIFIED INVALID
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-11 11:31 UTC by pzajac
Modified: 2007-01-10 13:31 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 pzajac 2006-04-11 11:31:02 UTC
[200604101800]
I was developing against my custom platform in NetBeans 5.0. Today I switched to
dev build. My platform has not been registered yet. My module suite shows me
dependency problem in module suite customizer. I wanted to register it in
platform manager. But is was not possible with the same name because the name
has been already marked with red color.
Comment 1 Martin Krauskopf 2006-04-11 12:47:22 UTC
I do not understand where is the problem. Seems OK to me that name is supposed
to be unique. (also the platform ID is generated from the platform name).
Comment 2 pzajac 2006-04-11 16:16:06 UTC
I found where is the problem. Platform with the same build number has been
already registered to platform manager. The already registered plaform was
deleted. Therefore the platform was marked by red color. I tried to register
again the platform with the same build number but from other folder.  
Comment 3 Martin Krauskopf 2006-04-11 16:53:32 UTC
1) In the first step when you select the equal platform you got a warning:

"The Platform Name is already in use. Please choose a different name in the next
step."

2) In the second step you got an error message:

The Platform Name is already in use. Please choose a different name.

Seems to be clear enough - maybe it's even clever ;), wizard warns you ahead.
Just use a different name if you have the reason to keep an old invalid platform
(probably you are planning to fix it) or just delete the invalid one.

If I misunderstood you, reopen. Thanks.
Comment 4 pzajac 2006-04-11 17:29:53 UTC
>1) In the first step when you select the equal platform you got a warning:
>
>"The Platform Name is already in use. Please choose a different name in the next
>step."
The folder platform is deleted from local filesystem (externally). It is
invalid.  User expects thar he can replace it with new platform.  
Comment 5 Martin Krauskopf 2006-04-11 17:43:41 UTC
The user can easily do so. Did you see the message:

"The Platform Name is already in use. Please choose a different name."

It is not saying: "You cannot use this platform, please choose another one". It
says choose another name. e.g. use "(2)" as a suffix. And again you have to do
this only in case you want for whatever reason to keep the invalid one.

Other problem is that the user is not able to fix the invalid platform from the
GUI if we do not count above as the way to do so. Please file RFE if you do not
like the above. But it should be solved by 61227 and similar ones.
Comment 6 pzajac 2007-01-10 13:31:43 UTC
v