| Summary: | Can't remove missing plug-in through the Target Definition editor | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Eric Jain <eric.jain> |
| Component: | UI | Assignee: | Curtis Windatt <curtis.windatt.public> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | curtis.windatt.public |
| Version: | 4.0 | ||
| Target Milestone: | 3.7 M3 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Eric Jain
We'll investigate, having to deselect it is expected, but it should save after deselecting. Are all other plug-ins on the tab selected? Other plug-ins were selected (but not all). After deselecting the missing plug-in I was able to save. This didn't make those plug-ins disappear right away (don't know if it should), but I expected them to be gone when I re-opened the target definition. (In reply to comment #2) > Other plug-ins were selected (but not all). After deselecting the missing > plug-in I was able to save. This didn't make those plug-ins disappear right > away (don't know if it should), I doubt they would go away immediately as the tree contents aren't refreshed. This might be a good improvement, though. > but I expected them to be gone when I re-opened > the target definition. Absolutely. Fixed in HEAD. See CachedCheckboxTreeViewer and TargetContentsGroup. The main problem was caused by a tweak we made in the TargetDefinition implementation which changed when we return missing plug-ins as part of the overall result. The more the file was modified, the more duplicate includes and other problems would be created. I've updated the severity to major to reflect that this bug could quickly destroy a target file. I'm not particularly happy with our API in this area (returning missing plug-ins as part of the getBundles() call), but decided it would be too involved of a change to rewrite the (provisional) api. At the same time I fixed a few other bugs when you have missing plug-ins related to the count and filtering. Verified. |