Bug 15229 - View errors when launching with out the plugins needed to create them
Summary: View errors when launching with out the plugins needed to create them
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P1 major (vote)
Target Milestone: 2.0.1   Edit
Assignee: Eduardo Pereira CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 13690 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-03 15:24 EDT by Peter Manahan CLA
Modified: 2002-08-09 16:27 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 Peter Manahan CLA 2002-05-03 15:24:33 EDT
I had thought that sharing workspaces between products with different plugin 
sets was not supported due to the errors that occur when you do so. 

However I was told that my assupmtion was incorrect. So this bug is to track 
that issue with Views and Perspectives which I assume are the province of the 
UI.

These were using JDK1.3.1 on WSAD based on eclipse 2.0 M5.

I bring up WSAD and open several WSAD projects with an assortment of WSAD 
specfic views and perspectives. Then I shut down WSAD.

Now the following:
1) Launch the base eclipse M5 against the same workspace and I have to wade 
through a *set of error dialogs* about views and perspectives that have gone 
missing. When eclipse finally comes the initial perspective is a Navigator view 
and the other perspectives are still there but seem to be reset to a 
default "Resource" Perspective.

2) I haven't yet tried this (am in the middle of setting it up features for 
WSAD) but it is possible to unconfigure a feature in the update manager so that 
the next time you launch the workbench they don't exist which would give the 
same error as in 1 above I think. I append the results of that as soon as I 
know.


Currently we are on a path of recommending users not to share a workpsace among 
different eclipse based products like WSAD because of these errors.
Comment 1 Peter Manahan CLA 2002-05-03 15:56:45 EDT
Using integration build 502 you can use the update manager and the base eclipse 
to see the behaviour described in 2 above.

1.Launch eclipse open several perspectives JDT and PDE based ones.
2. Open the update manager perspective. An expand current configuration until 
you see the JDT and PDE feaures.
3. Select the PDE and Unconfigure. Hit cancel on the question to restart
4. Select the JDT and Unconfigure. 
5. If you restart now Eclipse restarts itself but comes up with no errors as it 
is in the Install/Update perspective. Switch to the previously opened JDT and 
PDE perspectives and in you'll begin to get several error dialogs.



Comment 2 Nick Edgar CLA 2002-05-06 20:09:31 EDT
When migrating from Eclipse 1.0 to 2.0, we now delete the workbench.xml (with 
warning, and opportunity to cancel), forcing a clean slate in the UI.
However, the update scenario you outline is still problematic.
Comment 3 Nick Edgar CLA 2002-05-06 20:09:59 EDT
We should try to handle these errors better, or at least collect them and 
present a single dialog.
Comment 4 Greg Adams CLA 2002-07-08 12:21:17 EDT
We also have a dependency on this being fixed. As a general statement all 
extension points need to be behave properly under uninstall (John K. claimed 
this was the case already?).
Comment 5 Nick Edgar CLA 2002-07-09 15:41:16 EDT
Needed for 2.0.1.
Comment 6 Eduardo Pereira CLA 2002-07-23 16:06:22 EDT
Change restoreState to return IStatus (MultiStatu) and collected them in a 
single dialog.

Released in the HEAD stream.
Comment 7 Eduardo Pereira CLA 2002-07-25 10:42:16 EDT
Released in the 201 stream as well.
Comment 8 Eduardo Pereira CLA 2002-07-26 12:50:12 EDT
Fix released in both streams (201 and HEAD).
All errors are collected in one single dialog.
Comment 9 Eduardo Pereira CLA 2002-08-09 16:27:10 EDT
*** Bug 13690 has been marked as a duplicate of this bug. ***