Bug 518644 - Migration participant should be called in the order of their version
Summary: Migration participant should be called in the order of their version
Status: ASSIGNED
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: Next   Edit
Assignee: Pierre-Charles David CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks: 518289 529263
  Show dependency tree
 
Reported: 2017-06-22 11:06 EDT by Laurent Fasani CLA
Modified: 2018-09-03 08:58 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 Laurent Fasani CLA 2017-06-22 11:06:46 EDT
The migration participant are called in the order that depends on the order the plugin containing the extension are loaded and on the order of the declared extension in the plugin.xml

Potentially we could have integrity issue after if migration.

Ex: version of aird is 1. They are two migration participants (MGA and MGB) of version 2 and 3. MGB depends on the result of MGA BUT potentially MGA could be called before MGA => issue

This issue is related to Bug 506226 and blocks Bug 518289
Comment 1 Laurent Fasani CLA 2018-04-03 05:52:47 EDT
Added https://git.eclipse.org/r/#/c/94974/
Comment 2 Pierre-Charles David CLA 2018-09-03 08:58:25 EDT
This can have enough subtle and unforeseen impacts that we'll look after 6.1. Ideally soon after the start of the cycle.