Bug 562656 - The move of mapping specifications impacts the external references from other odesign files
Summary: The move of mapping specifications impacts the external references from other...
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Properties (show other bugs)
Version: 6.3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2020-04-30 06:11 EDT by Cedric Notot CLA
Modified: 2020-05-04 11:28 EDT (History)
1 user (show)

See Also:


Attachments
Example on basicfamily (21.94 KB, application/x-zip-compressed)
2020-04-30 06:16 EDT, Cedric Notot CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Notot CLA 2020-04-30 06:11:12 EDT
Let's take an odesign O1 with a page specification which uses a group A.

Let's take an other odesign O2 which overrides the group A.

If the group A is moved in O1, 02 loose the link to group A. So, the overriding group references an other group or a an unexpected description (causing error).

Indeed, the id of the objects is dependent on their position inside the model.
Comment 1 Cedric Notot CLA 2020-04-30 06:16:56 EDT
Created attachment 282632 [details]
Example on basicfamily

On this example, you get GroupOverride from the extension.odesign which overrides DefaultGroup from test.odesign. This last one is used by the DefaultPage.
If you move DefaultGroup to the top down (after DefaultGroup2) then it is DefaultGroup2 which becomes overridden (not used by DefaultPage).
Comment 2 Pierre-Charles David CLA 2020-05-04 11:28:30 EDT
Agreed, but this is a general issue with the VSMs, which could only be fixed by  very deep and impactful changes in how their elements are identified. Unless it becomes blocking for very common scenarios *and* we find a way to fix it which is not too risky (in terms of compatibility especially), I suspect we will never be able to change this.