You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.adoc
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,8 @@
23
23
- https://github.com/eclipse-syson/syson/issues/1581[#1581] [diagrams] Remove rename and delete tools from inherited port palette.
24
24
- https://github.com/eclipse-syson/syson/issues/1611[#1611] [services] Fix an issue where the undo of the deletion of a graphical node in a diagram was not restoring the graphical node correctly.
25
25
- https://github.com/eclipse-syson/syson/issues/1618[#1618] [rest-apis] Fix an issue where the _eAnnotations_ reference coming from the Ecore metamodel was taking into account by REST APIs serialization.
26
+
- https://github.com/eclipse-syson/syson/issues/1617[#1617] [import] Fix incorrect resolution of _redefined feature_ on `Redefinitions` during textual import.
Copy file name to clipboardExpand all lines: backend/application/syson-application/src/test/java/org/eclipse/syson/application/imports/ImportSysMLModelTest.java
+58Lines changed: 58 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,64 @@ public void tearDown() {
149
149
TestTransaction.start();
150
150
}
151
151
152
+
@Test
153
+
@DisplayName("Given of model with redefinition depending on inherited memberships computation, WHEN importing the model, THEN redefined feature should resolve properly using inherited memberships")
// Checks that p2::mass redefined p::mass and not ISQBase::mass because of the use of the semantic MetadataDefinition that implicitly makes p2 subset p
@DisplayName("GIVEN a model with a FlowUsage using a FeatureChain, WHEN importing the model, THEN the source and the target of the FlowUsage should be properly resolved")
LOGGER.info(MessageFormat.format("{0} remaining proxies to resolve after {1} try", Integer.toString(proxiedReferences.size()), Integer.toString(tryNb)));
261
+
LOGGER.info(MessageFormat.format("{2} : {0} remaining proxies to resolve after {1} try", Integer.toString(proxiedReferences.size()), Integer.toString(tryNb), resolutionPhase));
176
262
if (proxiedReferences.equals(unresolvedReferencesTmp)) {
Copy file name to clipboardExpand all lines: doc/content/modules/user-manual/pages/release-notes/2025.12.0.adoc
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,27 @@ requirement <'SN'> {
40
40
41
41
- Fix an issue where the undo of the deletion of a graphical node in a diagram was not restoring the graphical node correctly.
42
42
- Fix an issue where the _eAnnotations_ reference coming from the Ecore metamodel was taking into account by REST APIs serialization.
43
+
- Fix invalid resolution during import of _redefined Feature_ on `Redefinition`.
44
+
This problem appears in cases of a name conflict between a global available item and an item accessible via _inherited membership_ such as in the following model.
45
+
46
+
```
47
+
private import ISQBase::mass; // Gives global access to "mass"
48
+
49
+
#MP part p2 { // Implicit subsetting "p" using a semantic MetadataDefinition
50
+
attribute :>> mass = 2.0; // Should redefine "p::mass" and not "ISQBase::mass"
0 commit comments