Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 503075 - [Model Import] No port labels are shown in model after import
Summary: [Model Import] No port labels are shown in model after import
Status: CLOSED FIXED
Alias: None
Product: Papyrus-rt
Classification: Modeling
Component: tool (show other bugs)
Version: 0.7.2   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: 0.9.0   Edit
Assignee: smaoui asma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 507860
Blocks:
  Show dependency tree
 
Reported: 2016-10-03 11:03 EDT by Peter Cigehn CLA
Modified: 2016-11-28 11:00 EST (History)
4 users (show)

See Also:


Attachments
Example legacy model that highlights the issue (6.58 KB, application/x-zip-compressed)
2016-10-03 11:03 EDT, Peter Cigehn CLA
no flags Details
Screen shot of structure diagram for Top in legacy tooling (18.80 KB, image/png)
2016-10-03 11:06 EDT, Peter Cigehn CLA
no flags Details
Screen shot of structure diagram for Capsule1 in legacy tooling (24.66 KB, image/png)
2016-10-03 11:06 EDT, Peter Cigehn CLA
no flags Details
Screen shot of structure diagram for Capsule2 in legacy tooling (10.80 KB, image/png)
2016-10-03 11:07 EDT, Peter Cigehn CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Cigehn CLA 2016-10-03 11:03:31 EDT
Created attachment 264539 [details]
Example legacy model that highlights the issue

If you import a legacy model, then no port labels are shown, neither for ports of the capsule, nor for ports on capsule parts.

Steps to reproduce:

1) Import the attached model
2) Check the three capsule structure diagrams after import
3) Observe how no port labels are shown, neither for capsules nor for capsule parts

For comparison I will attach some screen shots how the diagrams looks like in the legacy tooling.
Comment 1 Peter Cigehn CLA 2016-10-03 11:06:30 EDT
Created attachment 264540 [details]
Screen shot of structure diagram for Top in legacy tooling
Comment 2 Peter Cigehn CLA 2016-10-03 11:06:58 EDT
Created attachment 264541 [details]
Screen shot of structure diagram for Capsule1 in legacy tooling
Comment 3 Peter Cigehn CLA 2016-10-03 11:07:24 EDT
Created attachment 264542 [details]
Screen shot of structure diagram for Capsule2 in legacy tooling
Comment 4 Peter Cigehn CLA 2016-10-03 11:10:14 EDT
As can be seen from the screen shot, other layout issues can also be seen, e.g. that the legacy SAP on capsule parts are "disconnected" from the border of the capsule part and that the connectors gets additional bend-points compared to the original diagram. But those I guess we should track with separate Bugzillas if needed.
Comment 5 smaoui asma CLA 2016-11-21 04:53:03 EST
This issue should be solved in the Papyrus migration extra plugin. I created Bug 507860 to track the Papyrus fix
Comment 6 Peter Cigehn CLA 2016-11-21 04:55:23 EST
(In reply to smaoui asma from comment #5)
> This issue should be solved in the Papyrus migration extra plugin. I created
> Bug 507860 to track the Papyrus fix

Could you please rename that other Bug 507860? It is so confusing when two bugs (one depending on the other) have exactly the same name.
Comment 7 Peter Cigehn CLA 2016-11-28 11:00:07 EST
Verified to be fixed in the latest Papyrus-RT build, based on the latest Papyrus build. The ports in capsule structure diagrams do now have their labels as expected. 

There are still a few aspects that can be seen with the example model attached to this bug, e.g how the legacy SAP and SPP (with wrong setting of service) is handled, and also how visibility of the ports are not set according to the migration notes in the UML-RT profile document, i.e. ports with isService=true shall have visibility=public and isService=false shall have visibility=protected. These issues shall be tracked with separate bugs.

Putting this bug though into verified fixed.
Comment 8 Peter Cigehn CLA 2016-11-28 11:00:21 EST
Closing as verified fixed.