Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345509 - [patch][team] TaskFinder does not always return a LinkedTaskInfo with an ITask if it is found
Summary: [patch][team] TaskFinder does not always return a LinkedTaskInfo with an ITas...
Status: RESOLVED DUPLICATE of bug 346709
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-11 20:24 EDT by Shawn Minto CLA
Modified: 2011-05-20 14:51 EDT (History)
2 users (show)

See Also:


Attachments
patch (980 bytes, patch)
2011-05-11 20:25 EDT, Shawn Minto CLA
no flags Details | Diff

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