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 26235

Summary: "Add Module" disables other modules.
Product: platform Reporter: issues@www <issues>
Component: Module SystemAssignee: Jesse Glick <jglick>
Status: RESOLVED WONTFIX    
Severity: blocker Keywords: UI
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description issues@www 2002-08-02 19:36:29 UTC
Description: 
System Config.:
       Solaris 5.8 and 5.9 with JDK 1.4.0 FCS on olivia and twq-bmwx5
       Intel 5.8 with JDK 1.4.0 FCS on sqai3
Build: FFJ EA RC4 build, SDI mode.
       /net/sqe-vws17/export/home/forte4j_RC4/bin/runide.sh -userdir /tmp/user

In Tool->Option->IDE Configuration->Systems->Modules, adding c/c++/fortran
support module ccp.jar module results in disabling other three modules:
c/c++/fortran editor support cpp-editor.jar, native connector Tool nc.jar and
Solaris Native Language module solaris_native.jar.

Steps to reproduce the problem: 
1. From IDE main menu, click on the Tools->Options->System->Modules, right click
on the Modules node and choose Add->Module from the pull down context menu. 
2. From the Open window, choose the <wholepath>/forte4j_RC4/modules/ccp.jar and
click on install button. 
3. Then the "Disabling Modules Used by Others..." dialog comes out. 
First of all, this is not the correct dialog shown up because I'm installing a
module, not disable a module even this module may already installed. It should
say that the modules is already insatlled or no dialog. 
Anyway, users normally click on OK, otherwise, they think the module can not be
installed. 
4. Then you go back to the window Tools->Options->System->Modules, under the
modules nodes, you will see C/C++/Fortran Support module is enabled, but other
three modules, C/C++/Fortran Editor Support, Native Connector, and Solaris
Native Language modules are all disabled. This is also conflict with the
information from the Disabling dialog since the C/C++/Fortran Support module is
enabled. 
	


Evaluation: 


Name: tn32310			Date: 04/19/2002

Priority verified

======================================================================
(transfered from bugtraq 4650296)

Added module exists in IDE. For example you have installed java.jar module.
beans.jar module depends on java.jar module. When you install the same java.jar
module from NBHOME/modules/java.jar depending modules are uninstalled.

This bug is in main trunk too. 



   A comment.
Comment 1 Petr Nejedly 2002-08-05 13:20:56 UTC
Seems like module system bug.
Module is disabled and new version is enabled, but the depending
modules are also disabled in the mean time.
Comment 2 Jesse Glick 2002-08-05 15:23:30 UTC
No plans to fix. Adding a module means really creating a new module -
which just happens to force the old one to be deleted because it has
the same code name. The two operations are basically separate steps.
The UI could hack around this and try to hide what is really happening
in most cases. However adding a module JAR manually using this node is
not a normal user use case - average users will stick to Auto Update.
It is mostly intended for module developers and testers. So getting
obscure use cases right is not a priority here.
Comment 3 Jesse Glick 2008-06-11 03:00:28 UTC
Obsolete issue.