Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366496 - [api] add path to place 'Associations' part
Summary: [api] add path to place 'Associations' part
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 3.7   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-13 02:46 EST by Robert Munteanu CLA
Modified: 2011-12-24 04:52 EST (History)
2 users (show)

See Also:


Attachments
tasktop associations above the summary part (27.20 KB, image/png)
2011-12-13 02:47 EST, Robert Munteanu CLA
no flags Details
mylyn/context/zip (1.98 KB, application/octet-stream)
2011-12-24 04:52 EST, Steffen Pingel CLA
no flags Details

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