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 117600 - BPEL Mapper still works after SOA plugin is uninstalled
Summary: BPEL Mapper still works after SOA plugin is uninstalled
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 6.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Sergey Lunegov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-03 12:26 UTC by Andrei Chistiakov
Modified: 2007-11-02 14:12 UTC (History)
2 users (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 Andrei Chistiakov 2007-10-03 12:26:07 UTC
Reproduced in build 200710030000.

To reproduce the bug:
- create BPEL Synchronous Sample application;
- uninstall SOA plugin;
- restart IDE;
- open SynchronousSample.bpel from SynchronousSample project in editor;
- select Assign activity.

BPEL Mapper is shown. The mappings can be edited.
Comment 1 Andrei Chistiakov 2007-10-03 15:30:27 UTC
Alexey, could you please add comments into the issue with the reason why it should be filed it against "auc/dev"?
Comment 2 Sergey Lunegov 2007-10-03 15:40:23 UTC
As I could understand from the description the basic plugin manager functionality doesn't work.
If user removes module from NB it shouldn't work. Probably some properties in SOA plugin aren't set correctly
but again basic functionality of plugin manager seems to work incorrectly.
Comment 3 Jiri Kovalsky 2007-10-03 15:46:59 UTC
Okay, in such case let's ask Jirka Rechtacek about this.
Comment 4 Jiri Rechtacek 2007-10-04 14:12:13 UTC
Fixed together with issue 117332.
Comment 5 Andrei Chistiakov 2007-10-10 15:25:06 UTC
Still reproducible in build 200710100000.
Comment 6 Jiri Rechtacek 2007-10-10 17:46:22 UTC
ca, are you sure that you did uninstall BPEL plugin which is provider of BPEL functionality? If you uninstall BPEL, all
BPEL support will go away. If you uninstalled all tree plugins in SOA category, all content of soa1 cluster is removed.
It's the best proof it's working.
If did you assumed that uninstallation of SOA only should force removing BPEL and Composite Application as well, it
would be fired as another problem to soa.
Comment 7 Andrei Chistiakov 2007-10-15 17:09:36 UTC
alexeyyarmolenko assures that SOA plugin contains Mapper functionality for both BPEL and XSLT. Therefore, if SOA Plugin
is removed, the mapper shouldn't work. But it does.
Comment 8 Jiri Rechtacek 2007-10-16 10:49:43 UTC
I insist it's works correctly. Try to take a clean Java SE IDE.
1) Install SOA (SOA only, its dependencies doesn't force install BPEL)
2) SOA is added into project types
3) Uninstall SOA => all SOA modules disappeared.
Then I try BPEL
1) Install BPEL (its dependencies doesn't force install SOA)
2) BPEL is added into project types
3) Uninstall BPEL => all BPEL modules disappeared.
Autoupdate infrastructure cannot do more then it. If you would like to declare more  dependencies between these
components, you should declare them, e.g. declare BPEL dependency on SOA. Anyway, it should be tracked as another issue.
Comment 9 Alexey Yarmolenko 2007-10-16 13:07:30 UTC
The problem appears for me as following:
-Invoke "Tools->Plugins" menu item
-Switch to "Installed" tab 
-Mark a checkbox next to SOA plugin
-Click Uninstall
-Go thru uninstall wizard, Select "Restart IDE now"

After restart i see following:
-Modules, contained in soa plugin(for example org.netbeans.modules.soa.mapper) appears as loaded in IDE console window
at startup
-SOA plugin is NOT LISTED under "Installed" tab in plugins dialog
-All functionality, based on modules from SOA plugin is still working

Another thing which surprised me:
Once im trying to uninstall SOA plugin, im NOT warned that BPEL plugin modules may also become disabled because they
depends on modules in BPEL plugin. Im getting such warning when im trying to remove, for example,  XML plugin.




Comment 10 Andrei Chistiakov 2007-10-16 13:10:59 UTC
Thanks, Alexey
Comment 11 rmatous 2007-10-16 14:02:09 UTC
Explanation:
There are two visible modules(AutoUpdate-Show-In-Client="true") in Plugin Manager that we are focused in: 
- SOA -> org.netbeans.modules.soa.kit
- BPEL -> org.netbeans.modules.bpel.kit

In addition there exists module org.netbeans.modules.soa.mapper, which isn't visible in Plugin Manager(because
AutoUpdate-Show-In-Client="false"). Both visible modules SOA, BPEL depend on org.netbeans.modules.soa.mapper(for this
dependency are responsible developers working on SOA and BPEL). 
Plugin Manager just reflects this dependency and cannot uninstall org.netbeans.modules.soa.mapper if there exist at
least one installed module that needs it. So, lets imagine that you have installed both modules SOA, BPEL and then you
uninstall exactly one of them (let's say SOA) via Plugin Manager, then org.netbeans.modules.soa.mapper cannot be
uninstalled because the second one (BPEL) still needs it.  After uninstalling both SOA, BPEL then also
org.netbeans.modules.soa.mapper should disappear.

I think, that Jirka is right that Plugin Manager behaves correctly exactly according the description above. If not
please comment and reopen. If you have problems how to define dependencies, please feel free to ask Jirka for help.
Comment 12 Alexey Yarmolenko 2007-10-16 15:27:08 UTC
So, the problem is that bpel.kit does not depend directly on soa.kit, while modules inside category, represented by
bpel.kit have dependencies on modules from soa.kit category.

Fix:

Checking in project.xml;
/cvs/enterprise/bpel/kit/nbproject/project.xml,v  <--  project.xml
new revision: 1.4; previous revision: 1.3


Comment 13 Jiri Rechtacek 2007-10-22 14:36:59 UTC
Fix:

Checking in project.xml;
/cvs/enterprise/bpel/kit/nbproject/project.xml,v  <--  project.xml
new revision: 1.4; previous revision: 1.3
Comment 14 Andrei Chistiakov 2007-11-02 14:12:57 UTC
Verified in build 200711020000.