Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345723

Summary: Prevent main feature from being un-installed
Product: [Eclipse Project] Equinox Reporter: DJ Houghton <dj.houghton>
Component: p2Assignee: DJ Houghton <dj.houghton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: john.arthorne, kim.moir, krzysztof.daniel, pascal, pwebster, samuelwu
Version: 3.6.2   
Target Milestone: 3.6.2+   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 323887    
Bug Blocks: 340791    
Attachments:
Description Flags
patch none

Description DJ Houghton CLA 2011-05-13 08:18:08 EDT
Cloned to track released into 3.6.x maintenace branch.

+++ This bug was initially created as a clone of Bug #323887 +++

Build Identifier: Eclipse 3.6

When a feature is chosen to be uninstalled, update manager checks whether this action would remove the main eclipse feature and doesn't allow it if it would damage the workbench.
P2 doesn't have this function. It allows any feature to be removed.

Reproducible: Always

Steps to Reproduce:
1. Start an eclipse sdk
2. Open the about dialog and installation history
3. Select the SDK and uninstall it
4. Restart when the sdk asks for it
5. The workbench can't be started any more
Comment 1 DJ Houghton CLA 2011-06-08 11:53:16 EDT
Created attachment 197617 [details]
patch
Comment 2 DJ Houghton CLA 2011-06-08 11:55:32 EDT
Patch released into R36x maintenance branch.