Bug 542673 - [Segments] Provide migration with persistence from legacy DMRs to segments
Summary: [Segments] Provide migration with persistence from legacy DMRs to segments
Status: RESOLVED FIXED
Alias: None
Product: ECP
Classification: Modeling
Component: EMF Forms (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.22.0   Edit
Assignee: Lucas Koehler CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy, ui
Depends on:
Blocks:
 
Reported: 2018-12-11 10:08 EST by Lucas Koehler CLA
Modified: 2019-06-17 04:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Koehler CLA 2018-12-11 10:08:40 EST

    
Comment 1 Lucas Koehler CLA 2019-05-21 10:06:51 EDT
If the view tooling runs in segment mode, the ViewEditorPart should check on opening a viewmodel whether the view model still contains legacy domain model references. If yes, the user is queried whether (s)he wants to migrate the view model to segments. This happens after potential Edapt migrations.

The migration transforms all legacy DMRs to plain VDomainModelReferences and transforms the DMRs (including nested DMRs) to a segment path. Thereby, the legacy DMRs are replaced by the new DMR.
Comment 2 Eclipse Genie CLA 2019-05-27 10:00:28 EDT
New Gerrit change created: https://git.eclipse.org/r/142862
Comment 4 Eclipse Genie CLA 2019-06-14 14:31:09 EDT
New Gerrit change created: https://git.eclipse.org/r/144086
Comment 6 Lucas Koehler CLA 2019-06-17 04:32:16 EDT
Behavior was implemented as described in Comment 1.
Note: The migration is never offered to migrate legacy dmrs if the view model requires an edapt migration and the edapt migration is declined by the user.