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

Bug 366496

Summary: [api] add path to place 'Associations' part
Product: z_Archived Reporter: Robert Munteanu <robert.munteanu>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: shawn.minto, steffen.pingel
Version: unspecified   
Target Milestone: 3.7   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
tasktop associations above the summary part
none
mylyn/context/zip none

Description Robert Munteanu CLA 2011-12-13 02:46:04 EST
When running the github connector inside Tasktop Dev, the summary part comes below the Tasktop-contributed attributes part. I've reported this against Tasktop dev at https://tasktop.com/bugs/show_bug.cgi?id=1781 and they decided that the fix should be in the github part, as "it is that they have a custom summary part and are changing the order when there are contributions to the header path".
Comment 1 Robert Munteanu CLA 2011-12-13 02:47:12 EST
Created attachment 208303 [details]
tasktop associations above the summary part
Comment 2 Kevin Sawicki CLA 2011-12-13 12:48:01 EST
Did they have a suggestion on how exactly to fix it?
Comment 3 Robert Munteanu CLA 2011-12-13 15:29:55 EST
(In reply to comment #2)
> Did they have a suggestion on how exactly to fix it?

No, they didn't. Perhaps you can CC someone from TT or comment on the referenced bug report.
Comment 4 Kevin Sawicki CLA 2011-12-13 15:38:26 EST
Steffen,

Any input on how to fix this?
Comment 5 Steffen Pingel CLA 2011-12-17 09:56:11 EST
The implementation in the github task editor page looks right to me. The problem is that Tasktop contributes the Associations part to the same path and since it is added first, i.e. before the github summary part it ends up above it. We'll need to fix this in the framework by providing flags to place parts in more specific locations, e.g. "?after=summary".
Comment 6 Robert Munteanu CLA 2011-12-19 17:36:08 EST
(In reply to comment #5)
> The implementation in the github task editor page looks right to me. The problem
> is that Tasktop contributes the Associations part to the same path and since it
> is added first, i.e. before the github summary part it ends up above it. We'll
> need to fix this in the framework by providing flags to place parts in more
> specific locations, e.g. "?after=summary".

This also affects the Jira connector. Should I make this an enhancement request towards Mylyn Tasks?
Comment 7 Steffen Pingel CLA 2011-12-21 05:27:46 EST
Thanks. I'll move this to Mylyn to provide better support in the framework.
Comment 8 Steffen Pingel CLA 2011-12-24 04:52:34 EST
A new constant AbstractTaskEditorPage.PATH_ASSOCIATIONS has been added. Parts in that path are placed below the header. Tasktop will consume that for the next major release to fix the described issue in the GitHub and JIRA connectors.
Comment 9 Steffen Pingel CLA 2011-12-24 04:52:50 EST
Created attachment 208794 [details]
mylyn/context/zip