Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 509262

Summary: [Tooling] Regression regarding the display of '*' in parameter table for untyped protocol message parameter
Product: [Modeling] Papyrus-rt Reporter: Peter Cigehn <peter.cigehn>
Component: toolAssignee: Christian Damus <give.a.damus>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: charles, papyrus-bugs, sredding
Version: 0.8.0   
Target Milestone: 1.0.0   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/98385
https://git.eclipse.org/c/papyrus-rt/org.eclipse.papyrus-rt.git/commit/?id=874fe058fb4d5c4a4e20e042fd94e8b4e1f9ce02
Whiteboard:

Description Peter Cigehn CLA 2016-12-15 04:03:27 EST
As part of Bug 476984 it was ensured that the '*' case was handled correctly in the protocol message parameter table, i.e. whenever the protocol message parameter is left untyped, a '*' shall be shown in the type column for the parameter table in the properties view for a protocol message.

In the latest Papyrus-RT build it can be noted that the type column is empty for the '*' case. If you double-click in the type column (to edit the type), then '*' is shown as expected.

This used to work and I am not sure when this regression occurred (it was discovered as part of verifying Bug 495352).

Steps to reproduce:

1) Create a UML-RT model
2) Create a protocol in this model
3) Create a protocol message in this protocol
4) Add a parameter to this protocol message and select '*' as its type, i.e. in practice to leave it untyped
5) Select the protocol message and check the parameter table in the properties view
6) Observe how the type column is empty. Expected result would be that the type column had a '*' displayed.

Compare with selecting the parameter itself and check the type field in the properties view which displays a '*'
Comment 1 Christian Damus CLA 2017-05-31 16:38:45 EDT
Pulling this into 1.0 because Papyrus Oxygen also regressed the editing behaviour of the Type cells:  double-clicking just brings up a type browser instead of letting the user type with content-assist or hit a '...' to access the menu of language-relevant choices.
Comment 2 Eclipse Genie CLA 2017-05-31 16:43:18 EDT
New Gerrit change created: https://git.eclipse.org/r/98385
Comment 4 Christian Damus CLA 2017-06-01 09:28:03 EDT
(In reply to comment #3)
> Gerrit change https://git.eclipse.org/r/98385 was merged to [master].
Comment 5 Peter Cigehn CLA 2017-06-02 04:30:29 EDT
Verified to be fixed in the latest Papyrus-RT build (#738). The '*' is now shown in the protocol message parameter table in the properties view as expected. The double-clicking and the ... button now works as it did before.
Comment 6 Peter Cigehn CLA 2017-06-02 04:30:40 EDT
Closing as verified fixed.