Bug 514539 - [Tooling] Updating multiplicity in superclass does not automatically refresh diagram in subclass
Summary: [Tooling] Updating multiplicity in superclass does not automatically refresh ...
Status: NEW
Alias: None
Product: Papyrus-rt
Classification: Modeling
Component: tool (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: Future   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: readme
Depends on:
Blocks:
 
Reported: 2017-03-31 08:46 EDT by Peter Cigehn CLA
Modified: 2017-06-14 09:43 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Cigehn CLA 2017-03-31 08:46:31 EDT
If you update the multiplicity of a port or a capsule part in a superclass, then the multiplicity is not updated in the diagram of the subclass. The user needs to explicitly use F5 to refresh the diagram.

Steps to reproduce:

1) Create a UML-RT model based on the "UML-RT for C++" template
2) Create a capsule with a port and a capsule part
3) Create another capsule with a generalization to the first
4) Open the structure diagram of both capsules and use sashes to place them next to each other in the model editor.
5) Update the multiplicity from "None (1)" to something else, e.g. 10 for both the port and the capsule part
6) Observe how the subclass diagram is not refreshed/updated with the new multiplicity, e.g. the stacking pattern is not shown.
7) Press F5 in the subclass diagram and observe how the multiplicity and the stacking pattern is shown.

This seem to be mainly an issue going from/to the "None (1)" multiplicity in the superclass, i.e. the case when multiplicity explicitly is set/unset. When changing from 10 to 15 for example, then the subclass diagram seem to be refreshed correctly.