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

Bug 210801

Summary: [api] provide access to parent queries from AbststractTask via AbstractTaskContainer.getParentContainers()
Product: z_Archived Reporter: Mik Kersten <mik.kersten>
Component: MylynAssignee: Robert Elves <robert.elves>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: ekuleshov, mjmeijer, robert.elves, steffen.pingel
Version: unspecified   
Target Milestone: 2.3   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on:    
Bug Blocks: 213228, 216060    
Attachments:
Description Flags
mylyn/context/zip
none
multi parented tasks patch v1 none

Description Mik Kersten CLA 2007-11-23 13:33:40 EST
We designed the API to store all parents for a task, but did not add this facility for Mylyn 2.0.  The need to iterate in order to look up the query or queries for a given task has been causing overly complicated client code and has been involved in numerous performance problems.
Comment 1 Mik Kersten CLA 2007-11-23 13:36:47 EST
Rob: we will need to pair on this.
Comment 2 maarten meijer CLA 2007-11-25 08:58:31 EST
Will you remove the limit on one container as well then?
Comment 3 maarten meijer CLA 2007-11-25 08:58:34 EST
Created attachment 83717 [details]
mylyn/context/zip
Comment 4 maarten meijer CLA 2007-11-25 09:22:19 EST
Also does this only involve the top level containers, or does this include parent tasks as well, ie inverse subtask?
Comment 5 Steffen Pingel CLA 2008-01-01 22:58:58 EST
This report looks like a duplicate of bug 187725.
Comment 6 Robert Elves CLA 2008-01-10 14:17:22 EST
*** Bug 187725 has been marked as a duplicate of this bug. ***
Comment 7 Robert Elves CLA 2008-01-15 19:49:30 EST
*** Bug 215423 has been marked as a duplicate of this bug. ***
Comment 8 Robert Elves CLA 2008-01-16 21:37:07 EST
Created attachment 87124 [details]
multi parented tasks patch v1
Comment 9 Robert Elves CLA 2008-01-22 16:16:57 EST
Fixed.
Comment 10 Steffen Pingel CLA 2008-01-22 17:00:40 EST
Great!
Comment 11 Mik Kersten CLA 2008-01-22 23:04:56 EST
Wow.
Comment 12 Steffen Pingel CLA 2008-04-12 21:57:45 EDT
*** Bug 187725 has been marked as a duplicate of this bug. ***