Bug 266933 - [ui] Details of error missing when doing an update
Summary: [ui] Details of error missing when doing an update
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M7   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords: polish
Depends on:
Blocks:
 
Reported: 2009-03-03 16:26 EST by James D. Miles CLA
Modified: 2009-04-28 11:06 EDT (History)
1 user (show)

See Also:


Attachments
image of ui panel with error (27.17 KB, image/jpeg)
2009-03-03 16:27 EST, James D. Miles CLA
no flags Details
First update site to install (9.95 KB, application/octet-stream)
2009-03-03 16:28 EST, James D. Miles CLA
no flags Details
Second update site for update (8.11 KB, application/octet-stream)
2009-03-03 16:28 EST, James D. Miles CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description James D. Miles CLA 2009-03-03 16:26:24 EST
Build ID: I20090224-0800

Steps To Reproduce:
1. Extract eclipse-SDK-I20090224-0800-win32 to C:\35work\0224sdktest
2. cd to C:\35work\0224sdktest\eclipse
3. Launch sdk with .\eclipsec.exe -data ..\workspace -debug -console
4. Extract the 2 update sites to c:\ptest

5. Add file:/C:\ptest\100\com.jdmiles.pluginA.testsite to "Available Software Sites" in update preferences

6. In "Test Feature Requires" Category select "com.jdmiles.pluginA.feature only.
7. Restart and verify in console that com.jdmiles.pluginA_1.0.0 and com.jdmiles.pluginArB_1.0.0 are installed.

8. Add file:/C:\ptest\101 missing requires\com.jdmiles.pluginA101.testsite in update preferences.

9. Goto Installation details and select com.jdmiles.pluginA.feature_1.0.0 
10. Initiate an update on it.

.


More information:
We get an error panel as we should but the details are not available.
The correct information is in the log.

Information in log
!ENTRY org.eclipse.equinox.p2.director 4 0 2009-03-03 14:45:56.312
!MESSAGE Problems resolving provisioning plan.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2009-03-03 14:45:56.312
!MESSAGE Unable to satisfy dependency from com.jdmiles.pluginA.feature.feature.group 1.0.1 to com.jdmiles.pluginArB.feature.feature.group [1.0.1].
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2009-03-03 14:45:56.312
!MESSAGE No solution found because the problem in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\p2Encoding3157465550860240412.opb is unsatisfiable.

!ENTRY org.eclipse.equinox.p2.ui 4 0 2009-03-03 14:46:17.484
!MESSAGE Operation details
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2009-03-03 14:46:17.484
!MESSAGE Cannot complete the install because some dependencies are not satisfiable
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2009-03-03 14:46:17.484
!MESSAGE "com.jdmiles.pluginA.feature.feature.group 1.0.1" requires "com.jdmiles.pluginArB.feature.feature.group [1.0.1]" 
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2009-03-03 14:46:17.484
!MESSAGE "com.jdmiles.pluginA.feature.feature.group 1.0.1" requires "com.jdmiles.pluginArB.feature.feature.group [1.0.1]"
Comment 1 James D. Miles CLA 2009-03-03 16:27:21 EST
Created attachment 127390 [details]
image of ui panel with error
Comment 2 James D. Miles CLA 2009-03-03 16:28:04 EST
Created attachment 127391 [details]
First update site to install
Comment 3 James D. Miles CLA 2009-03-03 16:28:46 EST
Created attachment 127392 [details]
Second update site for update
Comment 4 Susan McCourt CLA 2009-04-24 18:06:30 EDT
This is working in Build id: I20090421-0930.
I believe that this problem was fixed in early April as part of the error reporting reorg done in bug 261928.
Marking fixed.
Comment 5 James D. Miles CLA 2009-04-28 11:06:26 EDT
Verified that this works in 0427-1300 build.