Bug 501142 - [System Elements] Validation bundle client-context selectors are too imprecise
Summary: [System Elements] Validation bundle client-context selectors are too imprecise
Status: NEW
Alias: None
Product: Papyrus-rt
Classification: Modeling
Component: core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P4 normal
Target Milestone: Future   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: depends_on_papyrus
Keywords:
Depends on: 501141
Blocks:
  Show dependency tree
 
Reported: 2016-09-09 08:53 EDT by Christian Damus CLA
Modified: 2017-01-18 03:30 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Damus CLA 2016-09-09 08:53:43 EDT
The client-context selectors generated for the System Elements profile validation, for bug 477721, are too imprecise in two respects:

* the selector's matching logic is based on the simple stereotype name only.
  It does not account for stereotypes of the same name in other profiles from
  unrelated applications

* the client-context ID is not qualified, being based solely on the stereotype name.
  Again, this needs some qualifier to distinguish the client-context ID from those
  registered by other unrelated profiles

These problems can be fixed "by hand" but I reference the related code generator bug as blocking it because re-generation presumably would undo such changes.  It would be preferable to fix to the code generator and use that to regenerate these client-contexts (which also depends then on the nature of that fix).
Comment 1 Simon Redding CLA 2016-09-22 13:38:17 EDT
does not gate 0.8. Moving to 0.9