Bug 246792 - [web connector] add ability to support multiple task urls
Summary: [web connector] add ability to support multiple task urls
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2008-09-09 17:12 EDT by Michael Giroux CLA
Modified: 2009-08-20 02:33 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Giroux CLA 2008-09-09 17:12:27 EDT
I'm using Mylyn Web Templates Connector 3.0.2.I20080825-0800-e3x with Ganymede.

The forge software I use provides two types of items I wish to manage with Mylyn, TRACKER items, and TASK items.  I am able to build queries to retrieve the list of each of these items using specific queries with QUERY URL and QUERY PATTERN specified.  

To retrieve an individual item from the list, it is necessary to define the TASK URL in the repository configuration.  So far, I am not able to define a single generalized TASK URL that will correctly retrieve these two types of items.

The URL to retrieve an individual TRACKER is
http://licorne.frec.bull.fr/tracker/index.php?func=detail&aid=309697&group_id=214&atid=1350419

The URL to retrieve an individual TASK is
http://licorne.frec.bull.fr/pm/task.php?func=detailtask&project_task_id=954&group_id=214&group_project_id=192

These two urls have little in common.  They use the same repository host name, but from there on, things are different enough that I'm not able to generalize them.

I attempted to define a second repository at the same host name, and this was rejected because a repository already existed.  And since the TASK URL is only specified at the repository level, it was not possible to define a custom TASK URL for an individual query.

One workaround is to create a new repository using IP address instead of host name.  Another workaround is to create a second repository with hostname and port.  ex: http://licorne.frec.bull.fr:80

It would be nice if I could simply define a TASK url specific to a query.
Comment 1 Steffen Pingel CLA 2008-09-09 17:42:57 EDT
Can a single query return TASKs as well as TRACKER items?
Comment 2 Michael Giroux CLA 2008-09-09 18:21:25 EDT
(In reply to comment #1)
> Can a single query return TASKs as well as TRACKER items?

No, it takes two different queries to retrieve these different typs of items.

However, the current Web Templates implementation allows me to define a QUERY URL for each type of query (TRACKER and TASK), so I am able to obtain lists of these items.  The problem is that when I click on an item to open it, there is only one repository TASK URL (not to be confused with the TASK items in my forge) so what I end up with is a list of forge TASKS with hotlinks that try to retrieve forge TRACKER items.

What is needed is a corresponding TASK URL associated with an individual query.
Comment 3 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn