Bug 470016 - [api] add TaskAttribute.META_DEPENDS_ON_ATTRIBUTE_ID
Summary: [api] add TaskAttribute.META_DEPENDS_ON_ATTRIBUTE_ID
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.17   Edit
Assignee: Frank Becker CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks: 414360
  Show dependency tree
 
Reported: 2015-06-11 22:44 EDT by Frank Becker CLA
Modified: 2015-06-25 17:26 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 Frank Becker CLA 2015-06-11 22:44:05 EDT
Implement an connector independent way that you can define a relationship between TaskAttributes.

When we have a change on a attribute we look for other attributes that have the ID of the changed attribute in the new TaskAttributeMetaData. For each found attribute we then call changed so that we can update the depended attributes.

For an example look at the Bugzilla REST connector where we use this for the PRODUCT and COMPONENT attributes.
Comment 1 Sam Davis CLA 2015-06-12 14:08:50 EDT
Fixed as part of https://git.eclipse.org/r/#/c/22407/. Thanks Frank.