Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 461856 - Mismatch between constraint in UML-RT profile versus constraint actually being evaluated
Summary: Mismatch between constraint in UML-RT profile versus constraint actually bein...
Status: VERIFIED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Others (show other bugs)
Version: 1.1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-10 12:23 EDT by Peter Cigehn CLA
Modified: 2015-06-16 08:11 EDT (History)
2 users (show)

See Also:


Attachments
Example UML-RT model (11.11 KB, application/x-zip-compressed)
2015-03-10 12:23 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 2015-03-10 12:23:28 EDT
Created attachment 251435 [details]
Example UML-RT model

If you validate a UML-RT model then a number of run-time exceptions gets generated. This has been reported in bug 461853. It then became clear that there seem to be a name mismatch of one of the constraints.

When validating the model, it is both logged in the error log and the in model validation view, that a constraint named "All operations of a capsule are sequential" is claimed to be disable (due to the runtime exceptions reported in bug 461853).

But when checking the latest version of the profile the constraint is actually named "All operations of a capsule are guarded" indicating some mismatch between which constraints are actually executed versus which constraints are defined in the profile.

Maybe some tooling related to constraints has not been generated/updated based on the latest version of the UML-RT profile.

Steps to reproduce:

1) Import the attached model and validate it
2) Check the error log and the model validation view for a message refering to a constraint named "All operations of a capsule are sequential".
3) Now import the UML-RT profile into this model to be able to check the constraints actually defined in the profile
4) Check the stereotype "Capsule" and its constraints. There the constraint is named "All operations of a capsule are guarded".

This name change was made in the latest version of the profile, so it seem like something has been missed to generate/update when it comes to the constraints.
Comment 1 Peter Cigehn CLA 2015-03-12 10:16:55 EDT
Another indication is that one constraint that becomes disabled "Regions in RT state machines cannot have a final state" does not exist anymore, since it was removed from the latest version of the profile. This I guess gives further indications that the UML-RT validation plugin has not been re-generated based on the latest version of the UML-RT profile.
Comment 2 Peter Cigehn CLA 2015-04-10 05:20:34 EDT
Since the validation plugin was re-generated as part of Bug 461853 this one can be put into resolved fixed as well.
Comment 3 Peter Cigehn CLA 2015-06-16 08:11:38 EDT
Verified to be fixed in the latest build of Mars.