| Summary: | BorderSizeComputationExpression migration is done only on top level containers mapping | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Yann Mortier <yann.mortier> |
| Component: | Diagram | Assignee: | Maxime Porhel <maxime.porhel> |
| Status: | CLOSED FIXED | QA Contact: | Florian Barbin <florian.barbin> |
| Severity: | major | ||
| Priority: | P3 | CC: | florian.barbin, maxime.porhel, pierre-charles.david |
| Version: | 3.1.0 | Keywords: | triaged |
| Target Milestone: | 3.1.3 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| See Also: |
https://git.eclipse.org/r/60189 https://git.eclipse.org/r/60231 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=70248c1648a9c4367b3f9956f54c07c458ae1cf1 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=4e986b0f814f421ee6183bba32f7371e11269624 |
||
| Whiteboard: | |||
| Bug Depends on: | 465211 | ||
| Bug Blocks: | 481836 | ||
|
Description
Yann Mortier
A test is required to check that the migration is correctly done on aird and odesign. The test data must contain several levels of container mappings and containers. The VSM migration seems ok The aird migration should be recursive: diagramDescription.getAllContainerMappings() is not recursive, it only takes mappings and reused mappings. The code should also be reviewed as it seems it sees several times the same mapping (line 56 and 57). (In reply to Maxime Porhel from comment #1) > A test is required to check that the migration is correctly done on aird and > odesign. > > The test data must contain several levels of container mappings and > containers. > > > > > The VSM migration seems ok The Aird migration is ok: dDiagram.getContainers() is recursive > > The aird migration should be recursive: The VSM migration should be recursive: layer.getContainerMappings() only return the directly contained mappings and diagramDescription.getAllContainerMappings() return the contained and reused mapping (by the diagram description, "without layer mode") > diagramDescription.getAllContainerMappings() is not recursive, it only takes > mappings and reused mappings. The code should also be reviewed as it seems > it sees several times the same mapping (line 56 and 57). New Gerrit change created: https://git.eclipse.org/r/60189 New Gerrit change created: https://git.eclipse.org/r/60231 Gerrit change https://git.eclipse.org/r/60231 was merged to [v3.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=70248c1648a9c4367b3f9956f54c07c458ae1cf1 Gerrit change https://git.eclipse.org/r/60189 was merged to [v3.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=4e986b0f814f421ee6183bba32f7371e11269624 Corrected on branch v3.1.x for 3.1.3 Verified on Sirius 3.1.3.201511201007 by using the automatic test use case Available in Sirius 3.1.3 released on 2015-12-08. |