Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-06-14 21:30:52 +0000
committerspingel2009-06-14 21:30:52 +0000
commitdbeab4fcc537fb1671233266aba6f32089e714cb (patch)
tree3c2055bf5826516b35c3f0a59ff933432a695cba /org.eclipse.mylyn.trac.core
parent059d9d12f293487d24f5dfe99c05bf3b4b132d72 (diff)
downloadorg.eclipse.mylyn.tasks-dbeab4fcc537fb1671233266aba6f32089e714cb.tar.gz
org.eclipse.mylyn.tasks-dbeab4fcc537fb1671233266aba6f32089e714cb.tar.xz
org.eclipse.mylyn.tasks-dbeab4fcc537fb1671233266aba6f32089e714cb.zip
RESOLVED - bug 223173: Action list not correct when using custom workflow with trac 0.11
https://bugs.eclipse.org/bugs/show_bug.cgi?id=223173
Diffstat (limited to 'org.eclipse.mylyn.trac.core')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracXmlRpcClient.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracXmlRpcClient.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracXmlRpcClient.java
index 7b389516c..c41aed3b9 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracXmlRpcClient.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracXmlRpcClient.java
@@ -848,6 +848,10 @@ public class TracXmlRpcClient extends AbstractTracClient implements ITracWikiCli
updateAPIVersion(monitor);
Map<String, String> attributes = ticket.getValues();
+ if (!supportsWorkFlow(monitor)) {
+ // submitted as part of status and resolution updates for Trac < 0.11
+ attributes.remove("action"); //$NON-NLS-1$
+ }
if (supportsNotifications(monitor)) {
call(monitor, "ticket.update", ticket.getId(), comment, attributes, true); //$NON-NLS-1$
} else {

Back to the top