Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333110 - [shared] Feature not loaded when installed by p2 software updater in USER mode
Summary: [shared] Feature not loaded when installed by p2 software updater in USER mode
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-22 12:04 EST by hollisc CLA
Modified: 2011-06-12 21:01 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hollisc CLA 2010-12-22 12:04:54 EST
Build Identifier: Eclipse 3.6.1 

Reproduced when installing RSA 801 + TestFix. 

P2 Software Updater does not return error in USER mode (i.e. when SDP is write
protected) when installing BD/CT.  The patch does get laid down in user
configuration directory, but it is not loaded.  So, the test fix does fix the
permission issue, but we still get inconsistent result when the plugins are
loaded.  Something needs eclipse team to look into.  

Here is the scenario:
1. Install RSx 8.0 (Minimal - Standard),
2. Write protected SDP and launch as ADMIN (to create .eclipse).  Remove write
protection after that.  
3. Upgrade to RSx 8.0.1 
4. Apply TestFix and modify platform.xml
5. Write protect SDP directory
6. Launch as admin (it should use .eclipse for configuration)
6a. Check eclipse configuration to make sure the test fix has been applied
7. Install BD/CT using p2 Software Updater
Result: Software Updater completes successfully.  However, after restart, BD/CT
does not load.
8. Delete .eclipe
9. Launch the product as ADMIN
10. Install BD/CT using p2 Software Updater
Result: Software Updater completes successfully.  However, after restart, BD/CT
does not load.
11. Delete .eclipe
12. Launch the product as ADMIN
13. Install BD/CT using Classic Software updater
Result: Software Updater completes successfully.  However, after restart, BD/CT
does not load.
14. Removewrite protection in SDP 
15. Start as ADMIN
16. Install BD/CT using p2 Software Updater
Result: BD/CT installed successfully and is loaded


Reproducible: Always
Comment 1 Pascal Rapicault CLA 2010-12-23 10:39:01 EST
Could you please post a download link and a key for RSA 801 in this bug report?
I don't have access to it. This was I could try to reproduce. Thx.
Comment 2 hollisc CLA 2010-12-23 11:03:35 EST
The RSA v8 trial is available for download from this site (http://www.ibm.com/developerworks/downloads/r/architect/index.html).  It contains a trial license for 30 days.

You can upgrade to RSA 8.0.1 via Installation Manager.
Comment 3 Pascal Rapicault CLA 2011-06-12 21:01:18 EDT
I tested this against 3.6 and 3.7 builds and it works