Bug 223173 - Action list not correct when using custom workflow with trac 0.11
Summary: Action list not correct when using custom workflow with trac 0.11
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 2.3   Edit
Hardware: PC Linux
: P4 normal (vote)
Target Milestone: 3.2   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 248714 320705 (view as bug list)
Depends on:
Blocks: 175211
  Show dependency tree
 
Reported: 2008-03-19 05:56 EDT by Serge van Thillo CLA
Modified: 2010-07-30 16:18 EDT (History)
10 users (show)

See Also:


Attachments
patch for xmlrpcplugin (3.18 KB, patch)
2008-07-04 01:51 EDT, Steffen Pingel CLA
no flags Details | Diff
patch for Trac connector (10.43 KB, patch)
2008-07-04 01:56 EDT, Steffen Pingel CLA
no flags Details | Diff
updated patch (9.55 KB, patch)
2009-06-13 06:08 EDT, Steffen Pingel CLA
no flags Details | Diff
patch for TracXmlRpcPlugin (11.67 KB, patch)
2009-06-13 18:05 EDT, Steffen Pingel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Serge van Thillo CLA 2008-03-19 05:56:20 EDT
When using a custom workflow in trac 0.11 mylyn-trac doesn't show the correct actions.

I have admin permission, so I am able to change the actions.

for example:
with a new ticket, the only option shown in the action box is Leave as new
when using the web interface I have three options:

Leave as new
request info
assign to
Comment 1 Steffen Pingel CLA 2008-03-19 12:22:03 EDT
Yes, custom workflows are a Trac 0.11 feature that is currently not supported as the final Trac 0.11 version has not been released, yet. Please see bug 175211 for more details.
Comment 2 Daniel Adrian CLA 2008-06-12 16:29:04 EDT
Trac 0.11rc2 is out and stable, the api isn't going to change just bugfixes...
Not able to use custom workflows really hinders the work with 0.11.
Comment 3 Chris CLA 2008-06-26 09:43:15 EDT
We have Trac 11 (final) with custom workflows along with Eclipse 3.4 and Mylyn 3.0. We've been using Mylyn now to pull queries of tickets and are using the focused UI. But when it comes time to post a change in the status of a ticket we use an external browser to make those edits. When this bug is addressed it would be a much appreciated fix.
Comment 4 Steffen Pingel CLA 2008-06-26 14:18:09 EDT
Any help with implementing support for custom workflows is greatly appreciated. Please see bug 175211 comment 23 and following.
Comment 5 Steffen Pingel CLA 2008-07-04 01:51:14 EDT
Created attachment 106544 [details]
patch for xmlrpcplugin
Comment 6 Steffen Pingel CLA 2008-07-04 01:56:54 EDT
Created attachment 106546 [details]
patch for Trac connector
Comment 7 Steffen Pingel CLA 2008-07-04 02:15:12 EDT
Here is a quick hack to get started with the custom workflow support. This is only intended for development and does not produce useful results, yet.

If both patches are applied to the Trac connector and the Trac XmlRpcPlugin the correct workflow actions should appear in the Mylyn task editor. Advancing the workflow does not work, yet. This will probably require additional API in the XmlRpcPlugin. 
Comment 8 Steffen Pingel CLA 2008-07-04 02:18:42 EDT
This patch might already implement execution of actions: http://trac-hacks.org/attachment/ticket/1075/ExecuteAction.patch
Comment 9 Koen Maes CLA 2008-09-03 15:14:43 EDT
Trying to test wethter the patches work for me but I need some help

* 1 patch for Java Trac connector :
 I dont know how to apply the patch to the Trac connector. Need some directions on how to rebuild the eclipse plugin from source. 

* 2 patches for Trac server : just patch the python files, no recompilation required ?

thx.

Comment 10 Steffen Pingel CLA 2008-09-09 14:00:52 EDT
As stated in comment 7: The patches are only intended as a hint to get started with development and not useable in the current state. This page can help to get started with Mylyn development: http://wiki.eclipse.org/Mylyn_Contributor_Reference
Comment 11 Steffen Pingel CLA 2008-10-12 21:26:14 EDT
*** Bug 248714 has been marked as a duplicate of this bug. ***
Comment 12 Anton Danilchenko CLA 2009-06-04 13:11:43 EDT
How to clear my Mylyn query tasks for full update tasks from server? I see task with red pointer - this not updated :-(

I use latest Mylyn (from 4 June)
Comment 13 Steffen Pingel CLA 2009-06-13 06:08:45 EDT
Created attachment 139095 [details]
updated patch
Comment 14 Steffen Pingel CLA 2009-06-13 18:05:22 EDT
Created attachment 139103 [details]
patch for TracXmlRpcPlugin

Patch is from http://trac-hacks.org/ticket/1075. See Ticket for discussion and latest version of patch.
Comment 15 Steffen Pingel CLA 2009-06-13 21:11:16 EDT
Patch committed as part of bug 175211.
Comment 16 Steffen Pingel CLA 2010-07-30 16:18:57 EDT
*** Bug 320705 has been marked as a duplicate of this bug. ***