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 65568 - Can no longer delete all test-mode modules
Summary: Can no longer delete all test-mode modules
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-09-30 22:26 UTC by Jesse Glick
Modified: 2007-05-21 11:35 UTC (History)
1 user (show)

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 Jesse Glick 2005-09-30 22:26:27 UTC
1. Start IDE on fresh user dir. Open .../contrib/explorefromhere as a module
project. Select Reload in Development IDE from context menu. It is installed as
expected. Open Module Manager and locate this test module (will have expected
red T icon). "Uninstall" button enabled; if pressed and dialog confirmed, the
test module is disabled and deleted as expected. (BTW why is the Delete key not
bound to Uninstall? Would be convenient.)

2. Now make a new standalone module project (not in nb.org). Again reload in
current IDE and again locate in Module Manager. It is displayed but the
Uninstall button is disabled when it is selected. You can disable it, but not
delete it. (By which I mean removing it from the module list, not actually
deleting the JAR file.) Furthermore, if you invoke Properties on the context
menu, rather than the usual module properties you get properties suited to a
module display category!

3. Now open the standalone module project's properties dialog, and in Display
change Category to e.g. Database. Close (OK) and Reload again. Now in its new
location in Module Manager it shows the correct module properties, but Uninstall
is still disabled for it, even after restarting the IDE.

There is no apparent way to make this test module disappear from the Module
Manager, besides manually deleting the $userdir/config/Modules/*.xml entry. I am
not sure how it differs from the explorefromhere case, but somehow it does.

In NB 4.1 you could just select such a module and press Delete and the entry
would be removed (JAR untouched).
Comment 1 Jiri Rechtacek 2005-10-26 13:29:16 UTC
Checking in
autoupdate/src/org/netbeans/modules/autoupdate/catalog/Bundle.properties;
/shared/data/ccvs/repository/autoupdate/src/org/netbeans/modules/autoupdate/catalog/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.7; previous revision: 1.6
done
Checking in autoupdate/src/org/netbeans/modules/autoupdate/catalog/ModuleNode.java;
/shared/data/ccvs/repository/autoupdate/src/org/netbeans/modules/autoupdate/catalog/ModuleNode.java,v
 <--  ModuleNode.java
new revision: 1.6; previous revision: 1.5
done
Checking in
autoupdate/src/org/netbeans/modules/autoupdate/catalog/ModuleNodeActions.java;
/shared/data/ccvs/repository/autoupdate/src/org/netbeans/modules/autoupdate/catalog/ModuleNodeActions.java,v
 <--  ModuleNodeActions.java
new revision: 1.5; previous revision: 1.4
done
Checking in
autoupdate/src/org/netbeans/modules/autoupdate/catalog/ModuleNodeUtils.java;
/shared/data/ccvs/repository/autoupdate/src/org/netbeans/modules/autoupdate/catalog/ModuleNodeUtils.java,v
 <--  ModuleNodeUtils.java
new revision: 1.3; previous revision: 1.2
done
Checking in
autoupdate/src/org/netbeans/modules/autoupdate/catalog/ModuleSelectionPanel.java;
/shared/data/ccvs/repository/autoupdate/src/org/netbeans/modules/autoupdate/catalog/ModuleSelectionPanel.java,v
 <--  ModuleSelectionPanel.java
new revision: 1.16; previous revision: 1.15
done
Comment 2 Jiri Rechtacek 2007-05-21 11:35:16 UTC
module manager subcomponent is gone => resolved issues are assigned to
autoupdate/code