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 99998

Summary: Cannot delete plugin
Product: updatecenters Reporter: Jaromir Uhrik <juhrik>
Component: PluginportalAssignee: David Botterill <dbotterill>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jaromir Uhrik 2007-04-04 15:50:42 UTC
I have added plugin Jara's Test while logged as nbtester. It is not possible to
delete this pluigin. The reason may be that I added it to new category and then
updated the category of this plugin. I am not able to find reproducible
scenario, but the plugin is still there and I am not able to remove it.
Comment 1 David Botterill 2007-04-17 07:39:05 UTC
I can't repeat this defect an any other plugin.
Comment 2 Jaromir Uhrik 2007-04-17 19:54:57 UTC
It is strange and I am not able to find steps to reproduce. But it happened
again. There is Accessibility plugin in live pluginportal that I am not able to
remove. I am reopening this issue.
Comment 3 David Botterill 2007-04-21 00:38:49 UTC
I was finally able to nail down the scenario that caused this.  This happened
when there were two or more categories with the same name but different cases. 
The "equals" on the category class had a "equalsignorecase" which I think caused
problems with the JPA implementation.  I changed this to "equals" and I also
remove any categories linked with a plugin during the delete to make sure the
constraint violation isn't triggered on the delete.
Comment 4 Jaromir Uhrik 2007-04-26 16:09:04 UTC
Verified.