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

Bug 345509

Summary: [patch][team] TaskFinder does not always return a LinkedTaskInfo with an ITask if it is found
Product: z_Archived Reporter: Shawn Minto <shawn.minto>
Component: MylynAssignee: Mylyn Inbox <mylyn-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: shawn.minto, steffen.pingel
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
patch none

Description Shawn Minto CLA 2011-05-11 20:24:40 EDT
There seems to be a path in the task finder where and ITask can be found, but the correct LinkedTaskInfo is not created.
Comment 1 Shawn Minto CLA 2011-05-11 20:25:37 EDT
Created attachment 195449 [details]
patch

Steffen, thoughts on whether this code was just missed or if there seems to be a reason for it?  It seems that we should always return the ITask version of the LinkedTaskInfo if we find and ITask.
Comment 2 Steffen Pingel CLA 2011-05-16 14:30:36 EDT
Hard to say. The patch looks sane to me. Feel free to apply if it helps.
Comment 3 Steffen Pingel CLA 2011-05-20 14:51:18 EDT
I'll track a fix on bug 346709 which describes the same problem.

*** This bug has been marked as a duplicate of bug 346709 ***