Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-07-02 06:52:44 +0000
committerspingel2009-07-02 06:52:44 +0000
commit602cf66147529d251c09abab68e4fbb77206bfc4 (patch)
tree120d1f49fd7b5d551e60c8fea4473a831a5bd89b /org.eclipse.mylyn.trac.core
parent23e1fe9f6bd7555dcf3d3d0a0e641289257e1479 (diff)
downloadorg.eclipse.mylyn.tasks-602cf66147529d251c09abab68e4fbb77206bfc4.tar.gz
org.eclipse.mylyn.tasks-602cf66147529d251c09abab68e4fbb77206bfc4.tar.xz
org.eclipse.mylyn.tasks-602cf66147529d251c09abab68e4fbb77206bfc4.zip
NEW - bug 249947: Resolve field cannot be unset to an empty value
https://bugs.eclipse.org/bugs/show_bug.cgi?id=249947
Diffstat (limited to 'org.eclipse.mylyn.trac.core')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTaskDataHandler.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTaskDataHandler.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTaskDataHandler.java
index 80dc4abd2..fcf2f2ed2 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTaskDataHandler.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTaskDataHandler.java
@@ -544,8 +544,9 @@ public class TracTaskDataHandler extends AbstractTaskDataHandler {
Collection<TaskAttribute> attributes = data.getRoot().getAttributes().values();
for (TaskAttribute attribute : attributes) {
- if (TracAttributeMapper.isInternalAttribute(attribute)) {
- // ignore
+ if (TracAttributeMapper.isInternalAttribute(attribute)
+ || TracAttribute.RESOLUTION.getTracKey().equals(attribute.getId())) {
+ // ignore internal attributes, resolution is set through operations
} else if (!attribute.getMetaData().isReadOnly()) {
ticket.putValue(attribute.getId(), attribute.getValue());
}

Back to the top