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
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,7 @@ Also introduces new `ServiceMethod` helper class to build AQL service call expre
56
56
- 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.
57
57
- 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.
58
58
- https://github.com/eclipse-syson/syson/issues/1621[#1621] [diagrams] Fix an issue where the creation of a _Package_ inside another _Package_ created the _Package_ at the root of the diagram in addition to the inside of the target _Package_.
59
+
- 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)));
258
+
LOGGER.info(MessageFormat.format("{2} : {0} remaining proxies to resolve after {1} try", Integer.toString(proxiedReferences.size()), Integer.toString(tryNb), resolutionPhase));
176
259
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
- Fix an issue where the undo of the deletion of a graphical node in a diagram was not restoring the graphical node correctly.
41
41
- Fix an issue where the _eAnnotations_ reference coming from the Ecore metamodel was taking into account by REST APIs serialization.
42
42
- In diagrams, fix an issue where the creation of a _Package_ inside another _Package_ created the _Package_ at the root of the diagram in addition to the inside of the target _Package_.
43
+
- Fix invalid resolution during textual 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