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

Bug 262677

Summary: [web connector] web template for GForge AS 5.5 does not recognize completed tasks
Product: z_Archived Reporter: Tom van den Berg <tom.vandenberg>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED MOVED QA Contact:
Severity: major    
Priority: P4 CC: steffen.pingel
Version: unspecifiedKeywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tom van den Berg CLA 2009-01-27 17:07:04 EST
Configured the web template connector for GForge AS 5.5 in Eclipse 3.4.1 (Java). Configuration is shown below.

Created a task list from a tracker where all tasks are initially incomplete (status open). Task list is populated as expected.

However, in the following scenario the tasks in the task list are not correctly synchronized:
1) activate a task and set the status to closed (via edit task window)
2) synchronize task list => task in task list correctly shows as completed
3) set status of task back to open (via edit task window)
4) synchronize task list => task remains completed

Step 4 should have marked the task as incomplete.



Configuration:

Task URL: ${serverUrl}/gf/project/${project}/tracker/?action=TrackerItemEdit&tracker_item_id=${Id}

New task URL: ${serverUrl}/gf/project/${project}/tracker/?action=TrackerItemAdd&tracker_id=${tracker_id}

Query request URL: ${serverUrl}/gf/project/${project}/tracker/?action=TrackerItemBrowse&tracker_id=${tracker_id}

Query pattern: <tr class=".".*?><td.*?><input.*?>({Id}.+?)</td><td.*?><a.*?>({Description}.+?)</a></td><td.*?>.*?</td><td.*?>({Priority}.*?)</td><td.*?>.*?</td><td.*?><a href="/gf/user/({Owner}.+?)/">.*?</a></td><td.*?>({Status}.+?)</td>

Login request URL: ${serverUrl}/gf/account/?action=LoginAction&username=${userId}&password=${password}&redirect=/gf/project/${project}/tracker/?action=TrackerItemBrowse&tracker_id=${tracker_id}
Comment 1 Steffen Pingel CLA 2009-01-27 21:17:18 EST
Tom, are the tasks recognized as incomplete in the query preview?
Comment 2 Tom van den Berg CLA 2009-01-28 03:18:46 EST
Yes, the query preview shows the correct value.(In reply to comment #1)
> Tom, are the tasks recognized as incomplete in the query preview?
> 

Yes, the query preview shows the correct value.
Comment 3 Steffen Pingel CLA 2009-01-28 03:30:27 EST
Which version of Mylyn are you using? It would be great if you could verify if the error still occurs with the latest weekly build: http://www.eclipse.org/mylyn/downloads/#weekly
Comment 4 Tom van den Berg CLA 2009-01-28 05:00:02 EST
(In reply to comment #3)
> Which version of Mylyn are you using? It would be great if you could verify if
> the error still occurs with the latest weekly build:
> http://www.eclipse.org/mylyn/downloads/#weekly
> 

I'm using eclipse-java-ganymede-SR1-win32.zip and have installed the latest Web Template Connector. Not sure what precise Mylyn version is included in this Eclipse version, but I assume you can find out.
Comment 5 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