Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320705 - Workflow not used correctly
Summary: Workflow not used correctly
Status: RESOLVED DUPLICATE of bug 223173
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-23 06:03 EDT by Marvin Fröhlich CLA
Modified: 2010-07-30 16:18 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marvin Fröhlich CLA 2010-07-23 06:03:44 EDT
Build Identifier: Eclipse: 20090920-1017, Mylyn: 3.3.0.v20091015-0500-e3x

We're using the following workflow in the trac server configuration.

############################
[ticket-workflow]
leave = * -> *
leave.default = 1
leave.operations = leave_status

resolve = new, deferred -> resolved
resolve.operations = set_owner, set_resolution
resolve.permissions = TICKET_MODIFY

defer = new -> deferred
defer.operations = set_owner_to_self
defer.permissions = TICKET_MODIFY

reassign = resolved, closed -> new
reassign.operations = set_owner
reassign.permissions = TICKET_MODIFY

close = resolved -> closed
close.operations = del_owner
close.permissions = TICKET_MODIFY
############################

I cannot set the resolution anymore. Looks like Mylyn doesn't correctly handle the workflow as defined in the ini file.

Mylyn+Trac is pretty much unusable for me now.

Reproducible: Always
Comment 1 Steffen Pingel CLA 2010-07-27 13:04:31 EDT
Are you using the latest version of the XML-RPC plugin? What changed since this was working?
Comment 2 Marvin Fröhlich CLA 2010-07-30 04:27:06 EDT
I really have no idea, if I am using the latest version of this plugin. The current Eclipse Software manager doesn't list the installed plugins, nor shows me their versions. But I have updated everything installed to the latest.

What changed since this was working? I changed the ticket workflow as described above. The default Trac-workflow unfortunately doesn't include a state, where the ticket is resolved, but still open (for review by the reporter, who is responsible for closing it). So I created the above workflow to add this state.
Comment 3 Steffen Pingel CLA 2010-07-30 16:18:57 EDT
The plug-in would be installed on your Trac repository. You can verify the version by going to the settings page for the repository and pressing validate. If you then open the error log it will show you the version that was detected. It needs to be version 1.0.6 or later.

I will mark this bug as resolved. Please reopen if it still does not work after you have updated the XML-RPC plugin to the latest version.

*** This bug has been marked as a duplicate of bug 223173 ***