Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320613 - [ui] [admin] - problem installing with vague error message
Summary: [ui] [admin] - problem installing with vague error message
Status: VERIFIED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M3   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-22 06:57 EDT by Krzysztof Daniel CLA
Modified: 2010-10-27 15:57 EDT (History)
1 user (show)

See Also:


Attachments

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