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 - Cannot delete plugin
Summary: Cannot delete plugin
Status: VERIFIED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Botterill
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-04 15:50 UTC by Jaromir Uhrik
Modified: 2009-10-03 12:41 UTC (History)
0 users

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 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.