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

Bug 352563

Summary: [SysML Static Profile] Incorrect content for Requirement::/tracedTo derived property
Product: [Modeling] Papyrus Reporter: Yann Tanguy <yann.tanguy>
Component: CoreAssignee: Yann Tanguy <yann.tanguy>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: vincent.lorenzo
Version: 0.8.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Yann Tanguy CLA 2011-07-20 08:09:28 EDT
The specification is not quite clear regarding the expected content of Requirement::/tracedTo derived property:

• /tracedTo: NamedElement [*] 
Derived from all elements that are the supplier of a «trace» relationship for which this requirement is a client.
 
As «copy» «deriveReqt» «verify» and «satisfy» inherit from “Trace”, does this means that /tracedTo also list all elements that are the supplier of a «copy» «verify» «satisfy» «deriveReqt» relationship for which this requirement is a client ?

-----

It would probably be easier to understand for user to only list here suppliers of relationship which are explicitly stereotyped by Trace without considering its subtypes.
Comment 1 Yann Tanguy CLA 2011-07-22 09:49:14 EDT
Fixed in r5114
- Requirement #getTracedTo() corrected.
- RequirementRelated #getTracedFrom corrected (client - supplier inversion also corrected).
- JUnit tests updated.

Merge in trunk : 5115.