Community
Participate
Working Groups
As discussed in Bug 473064 Comment 32 it is proposed that a port should have one field 'Replication' for setting the multiplicity of the port. The rules for updating the 'Replication' field for a port should be that both lower bound and upper bound should be set to the same value according to the value entered in the 'Replication' field. It should be possible to both enter integer values as well as string values, and the relevant literals should be created for lower and upper bound.
Please also see the related Bug 479350 for a replication field for a capsule part.
Please see Bug 479350 Comment 2 which is also equally relevant for this Bugzilla.
New Gerrit change created: https://git.eclipse.org/r/62486
See also Bug Bug 482692: [Tooling] Optional Capsule should have hatching Pattern to update the code on that part.
Remi, I guess this one also should be assigned to Asma?
New Gerrit change created: https://git.eclipse.org/r/73726
New Gerrit change created: https://git.eclipse.org/r/73791
This gerrit https://git.eclipse.org/r/73726 proposes a fix for this bug as well as a factorization of the fix proposed for the Bug 479350 to not duplicate Editos/Dialogs/Properties/Observables for the Replication field added both to Port and Capsule Part. Asma
Gerrit change https://git.eclipse.org/r/73726 was merged to [master]. Commit: http://git.eclipse.org/c/papyrus-rt/org.eclipse.papyrus-rt.git/commit/?id=5df517db427bd8c28cf3ac97eee162fcce7e7ab1
(In reply to Eclipse Genie from comment #9) > Gerrit change https://git.eclipse.org/r/73726 was merged to [master]. > Commit: > http://git.eclipse.org/c/papyrus-rt/org.eclipse.papyrus-rt.git/commit/ > ?id=5df517db427bd8c28cf3ac97eee162fcce7e7ab1 It appears that the RCPTT test case Port_30 now fails because the property sheet UI for ports has changed, so the test can no longer find certain UI elements to interact with. This test failure is currently blocking the Papyrus-RT product build. The test case will need to be updated; see https://hudson.eclipse.org/papyrus-rt/job/Papyrus-RT-Gerrit-RCPTT/14/console for details. Also, another test case affected by this new feature already has a fix in the works. I would suggest that changes to the Port_30 test case be done in the patch set https://git.eclipse.org/r/#/c/80465/
I have checked the merged Gerrit change in the latest Papyrus-RT build. And the replication field looks good. The handling of lower and upper, i.e. they are always assigned the same value, i.e. the value in the replication field. I will put this one into resolved/verified fixed. Any possible remaining issues will be tracked in separate Bugzillas.
Closing as verified fixed.