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

Bug 333105

Summary: Support minimal compatibility with 4.0 workspaces
Product: [Eclipse Project] Platform Reporter: John Arthorne <john.arthorne>
Component: UIAssignee: Oleg Besedin <ob1.eclipse>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: pwebster, remy.suen
Version: 4.1   
Target Milestone: 4.2 M7   
Hardware: All   
OS: All   
Whiteboard:

Description John Arthorne CLA 2010-12-22 11:39:29 EST
Users should be able to open a workspace in platform 4.1 that was created in platform 4.0. It's fine to discard all user interface session state, but ideally the workspace can be opened and upgraded without errors. I.e., we should have code that detects the deltas.xml is from an incompatible version, and if so discard it and start with a fresh default UI layout.
Comment 1 Remy Suen CLA 2010-12-22 11:48:11 EST
(In reply to comment #0)
> we
> should have code that detects the deltas.xml is from an incompatible version,
> and if so discard it and start with a fresh default UI layout.

This is already in place. I just need to update a constant in the reconciler.

We also added code in M3 for users upgrading from M2 to M3 (see bug 328388). We'll probably need something similar for the model changes that went into M4.
Comment 2 John Arthorne CLA 2010-12-22 13:21:33 EST
Sounds good. Let's just keep this bug open as a reminder to test that towards the end to make sure it works. Upgrading UI state is nice but certainly not necessary. Just being able to open an old workspace and have it come up with the default initial layout is fine.
Comment 3 Paul Webster CLA 2011-11-01 11:59:27 EDT
For this bug, we need to take our 4.1.2 M builds and confirm that we can open a 3.7.x workspace.

PW
Comment 4 Oleg Besedin CLA 2012-04-04 14:39:41 EDT
Opening workspaces with 4.2M6 (deltas) and I0321 build (full model save), workspace from 4.1.2 seems to be getting imported fine.

Workspaces from 3.8 and 3.7 did opened with no errors, but UI layout is reset to standard and we do not preserve open editors. (That is, again, same for deltas and full model versions.)

I think it works as expected. If there are any concerns please feel free to reopen.