Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345723 - Prevent main feature from being un-installed
Summary: Prevent main feature from being un-installed
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6.2+   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 323887
Blocks: 340791
  Show dependency tree
 
Reported: 2011-05-13 08:18 EDT by DJ Houghton CLA
Modified: 2011-06-08 11:55 EDT (History)
6 users (show)

See Also:


Attachments
patch (13.04 KB, patch)
2011-06-08 11:53 EDT, DJ Houghton CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.