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

Bug 320613

Summary: [ui] [admin] - problem installing with vague error message
Product: [Eclipse Project] Equinox Reporter: Krzysztof Daniel <krzysztof.daniel>
Component: p2Assignee: Susan McCourt <susan>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: susan
Version: 3.6   
Target Milestone: 3.7 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Krzysztof Daniel CLA 2010-07-22 06:57:11 EDT
1. Create a profile
2. Select it
3. Select a feature
4. Right click, select 'Install'

A warning dialog appears:

Problem determining user request. Profile id: null, Selection count: 1

Nothing is installed then.
Comment 1 Susan McCourt CLA 2010-09-02 17:22:54 EDT
Fixed in HEAD >20100902.
This was similar to bug 320494.
Prior to 3.6, we prompted the user to pick which profile was in question when selecting something to install.  In the API refactoring for 3.6, this decision was placed on the ProvisioningUI's profile id, which is not known at the time it is given to the action.

The solution is to move InstallAction to the admin UI (it is internal and is not used in the SDK anyway.)  Now the action can prompt the user, keep track of the choice, and feed the proper ProvisioningUI to the wizard.  

All classes involved are internal.
Comment 2 Susan McCourt CLA 2010-09-14 13:46:12 EDT
retargeting milestone.
These changes were released to HEAD for M2, but never tagged for the M2 I-builds.  Since we are already into the test pass, we will defer to M3.
Comment 3 Susan McCourt CLA 2010-10-27 15:57:37 EDT
Verified on win7, Build id: I20101026-2000.