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 166748

Summary: Cannot activate/deactivate plugins
Product: platform Reporter: fordfrog <fordfrog>
Component: Plugin ManagerAssignee: dlipin <dlipin>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: jtulach, mmirilovic
Priority: P1    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: This would be my patch

Description fordfrog 2009-06-09 02:04:09 UTC
When netbeans installation files are not writeable by current user, it is not possible to activate/deactivate plugins
that are placed in netbeans installation. Plugins stored in userdir can be activated/deactivated without problems.

How to reproduce:
- install netbeans from installation script:
http://bits.netbeans.org/netbeans/6.7/community/rc2/bundles/netbeans-6.7rc2-ml-linux.sh
- run chown -R root:root netbeans (where "netbeans" is folder where netbeans is installed)
- run netbeans, go to tools -> plugins -> installed ... all plugins are grayed/disabled, so you cannot
activate/deactivate them

Expected behavior:
it should be possible to activate/deactivate plugins that are not owned/writeable by the current user
Comment 1 Jaroslav Tulach 2009-06-09 09:09:28 UTC
I have reproduced the problem. Very likely it is something in autoupdate/ui and not related to ergonomics. If I start 
the IDE without ergonomics cluster, I cannot manipulate items in Installed tab either.
Comment 2 Jaroslav Tulach 2009-06-09 09:15:31 UTC
Dear fordfrog, please note that while the plugin manager operations are disabled, the "ergonomics" activation works 
without problems - you can still create new java project and the java support will be activated.
Comment 3 Jaroslav Tulach 2009-06-09 09:44:12 UTC
Created attachment 83344 [details]
This would be my patch
Comment 4 Marian Mirilovic 2009-06-09 09:52:16 UTC
this is stopper for NB 6.7
Comment 5 dlipin 2009-06-09 10:21:49 UTC

*** This issue has been marked as a duplicate of 165841 ***
Comment 6 dlipin 2009-06-09 11:38:34 UTC
patch looks promising however it allows selecting e.g. "RCP Platform" which in fact can be neither deactivated nor 
uninstalled.