Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Reused sub-node mapping elements in a container import disappear when layer is deactivated
Reused sub-node mapping elements in a container import disappear when layer is deactivated [message #1838563] Mon, 01 March 2021 13:19 Go to next message
Giray Ozel is currently offline Giray OzelFriend
Messages: 18
Registered: February 2018
Junior Member
In layer LayerA, I have defined a container mapping ContainerA with a sub node mapping SubNodeA inside it.

I have imported ContainerA in LayerB and have put the SubNodeA inside the "Reused Node Mappings" list of the import.

In the last paragraph of the following documentation it is mentioned that if a layer reuses elements from another layer and that layer is inactive, the reused elements would still be active.

However, that is not the case for me and the objects of type that is represented by SubNodeA disappear as soon as LayerA is deactivated. Do you have any hints to what might be wrong?
Re: Reused sub-node mapping elements in a container import disappear when layer is deactivated [message #1838672 is a reply to message #1838563] Wed, 03 March 2021 12:29 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 508
Registered: May 2011
Senior Member
Hello,

Indeed there seems to be a bug here. I reproduced the same issue. In fact, you should not even need to add the SubNodeMappingA in "Reused Node Mappings", if your ContainerMappingImport feature "Hide Sub Mappings"[1] is unchecked.
Can you file a new bugzilla about this issue?

Best regards,
Steve

[1]https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#mapping_imports


Steve Monnier - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Reused sub-node mapping elements in a container import disappear when layer is deactivated [message #1839014 is a reply to message #1838672] Thu, 11 March 2021 11:11 Go to previous message
Giray Ozel is currently offline Giray OzelFriend
Messages: 18
Registered: February 2018
Junior Member
Added: https://bugs.eclipse.org/bugs/show_bug.cgi?id=571874
Previous Topic:creation tools
Next Topic:Trigger 'Arrange All'
Goto Forum:
  


Current Time: Wed Apr 14 13:26:01 GMT 2021

Powered by FUDForum. Page generated in 0.01409 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top