Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352563 - [SysML Static Profile] Incorrect content for Requirement::/tracedTo derived property
Summary: [SysML Static Profile] Incorrect content for Requirement::/tracedTo derived p...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yann Tanguy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-20 08:09 EDT by Yann Tanguy CLA
Modified: 2011-07-22 09:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.