Summary: | Error occurred during one-click update | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Dave Thomson <Dave_Thomson> |
Component: | Update (deprecated - use Eclipse>Equinox>p2) | Assignee: | Dejan Glozic <dejan> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P1 | CC: | celek, dejan |
Version: | 2.0 | ||
Target Milestone: | 2.0 F2 | ||
Hardware: | PC | ||
OS: | Windows NT | ||
Whiteboard: | |||
Attachments: |
Description
Dave Thomson
2002-05-29 12:02:24 EDT
Created attachment 1101 [details]
Bitmap showing error
Able to recreate. The root cause is the fact that in the current builds the help.webapp plugin has a problem and is not being successfully built. So the platform feature is referencing a plugin jar that does not exist. I have played with this scenario (trying to simulate a frustrated user just clicking on things) and I got myself into a progressively worse state. The scenario is reproducible with Nevada as it exists right now (200205271101 build being the latest .... may need to grab this build and setup in a controlled site until we get this debugged). Steps I followed: * start up brand new 0528 * Help> Software Updates> New Updates * all is well until the last feature (base platform), fails because of the missing webapp plugin Problem 1: bugus error message (as pointed out by Dave) * I clicked OK on the error dialog, and Cancel in the wizard Problem 2: I should not have to explicitly cancel the wizard. I should either be offered to continue installing the next available update (ie. only skip the bad one) or stop installing at that point. At this point we have installed updates to the features preceeding the error (the one in error is backed out). We should probably ask the user whether to "accept" (configure) the partial updates, or not. * I was offered to restart, OK * eclipse restarted and I was told I had new changes Problem 3: this is bogus - should not have changes as a result of one-click. This likely caused because we did not harden our state after the failure. * I selected not to apply the changes * open update manager .... current configuration is OK given the above problems (original feature versions configured, new ones not - see Problem 2/3) * Help> Software Updates> New Updates .... do one-click again * wizard found same features I need based on the original configured features * Finish .... start installing, and immediately fail because feature.xml for jdt.source already exists Problem 4: we should recognize we already have the feature installed. I suspect we are checking for configured features, but in this scenario the new version is not configured. We have 2 choices ... either detect this, or allow the unconfigured feature to be overwritten (but never configured feature). * now the fun started ... I clicked OK on the error dialog, and clicked [Finish] again. This time it looked like jdt.source installed (quickly because we have the plugins) and I failed on the next feature (jdt) with the error saying feature.xml exists * [Finish] again .... fail on jdt.source again (first install) * [Finish] again .... this time jdt.source and jdt looked OK, but failed on pde (same error) * I cancelled the wizard, ad declined to restart when prompted. * Opened Update manager, current configuration is showing the new version of jdt and jdt.source (SDK) with warnings (2.0.0 plugins are running) * I restarted eclipse, go to update manager * now jdt and jdt.source (SDK) are showing the original version (OK) BUT PDE has a warning (showing 2.0.0 feature configured, but new versions of plugins are running) * there is no PDE feature in the features/ directory, so its new plugins are being picked up as unmanaged Problem 5: repeated clicking on [Finish] is not handled ... need to either fix, or never get ourselves into this situation of keeping the wizard open after error (Problem 2) Will attach zip of the workspace (.log, .config) Created attachment 1105 [details]
workspace (forgot to mention in steps I deleted the delta so is not in the zip)
The feature already installed issue should be solved by bug 18021 Created attachment 1114 [details]
New Message if a file is remotely missing [GIF]
Code in version 20020529H1945_18021 I have setup up an internal site that has the content off Nevada with 200205271101 as the latest build (pre-nesting, missing a plugin). http://klicnik.torolab.ibm.com/shrek/NevadaTestSite/ Am attaching a zip of the corresponding feature definitions that you need to run with (update URL points to the internal site). Created attachment 1123 [details]
"flat" features with update URL pointing to shrek
By reading the bug, I completely lost track what needs to be done here on the part of UI. Help? "Problem 2" and "Problem 3" in my original post to the defect remain. Target for F2. Implemented. |