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 125620 - Bad suite.properties silently forbids adding to suite
Summary: Bad suite.properties silently forbids adding to suite
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: PC Windows Vista
: P4 blocker (vote)
Assignee: rmichalsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-20 12:34 UTC by davidparks
Modified: 2009-12-21 06:52 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 davidparks 2008-01-20 12:34:28 UTC
If a module has a suite.properties file in it the it cannot be added to another module suite but, more importantly, it
silently fails to alret the user when trying to add to another module suite.  In my case, the suite.properties came from
a previous module suite that the project had been removed from.

Reproducing the bug:

1) Create a module A and a module suite B.  Add module A to suite B (using "Add Existing").
2) Delete suite B folder from the disk (not using netbeans is the easiest way), leaving a suite.properties file in
module A that points nowhere.
3) Create a module suite C.  Add module A to module C (again, 'add existing').  Module C will not contain module A and
the IDE will not show the dependency.  Yet, there will be no dialog or alert.  The only way to know what happened is to
have the global logger open, which shows a stack trace that says that suite.properties already exists.

Expected behavior: 
There is already a bug requesting that the module suite contain the link to the module rather than the other way around
for good reasons.  Until that happens, the module should either find a way to belong to multiple suites and it should
add themselves to them when asked or it should, at the very least, alert the user that the "add existing" request failed
as well as to why the request failed.
Comment 1 Jesse Glick 2008-01-24 23:50:33 UTC
IDE should better report the problem, but as a rule we do not support external deletion of projects; you should use the
Delete context menu item on the suite if you want to delete it.
Comment 2 rmichalsky 2008-11-24 15:06:13 UTC
Not into 7.0 or next release. Feel free to reopen if more important than it seems.
Comment 3 rmichalsky 2008-11-24 15:12:38 UTC
A mistake, sorry.
Comment 4 Quality Engineering 2009-12-21 06:52:00 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team