Bug 559969 - Regression in migration from 0.8.3 to 0.9.0
Summary: Regression in migration from 0.8.3 to 0.9.0
Status: CLOSED FIXED
Alias: None
Product: App4mc
Classification: Automotive
Component: Model Migration (show other bugs)
Version: 0.9.7   Edit
Hardware: PC Windows 10
: P3 normal
Target Milestone: 0.9.8   Edit
Assignee: Dirk Fauth CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-10 07:47 EST by Dirk Fauth CLA
Modified: 2020-07-20 03:48 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 Dirk Fauth CLA 2020-02-10 07:47:00 EST
With the refactoring from extension points to declarative services in the model migration component, a regression was introduced for migrating memory mappings. The reason is that there is an implicit execution order for the converters that is not guaranteed with the DS implementation.

The HwConverter needs to be executed first, as it populates the "new" mappings in the HWTransformationCache. These "new" caches are then used by the HwReferencesConverter afterwards. If the HwReferencesConverter is executed first, several information is missing, as it was not yet collected by the HwConverter.

This should be solved by adding the service.ranking property to the HwConverter so it gets executed before the HwReferencesConverter.
Comment 1 Eclipse Genie CLA 2020-02-10 07:49:00 EST
New Gerrit change created: https://git.eclipse.org/r/157433
Comment 4 Harald Mackamul CLA 2020-07-20 03:48:56 EDT
published with APP4MC 0.9.8