Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2008-06-02 18:42:33 +0000
committerrelves2008-06-02 18:42:33 +0000
commit293d2c90ed970849db574e73fc3b89913a6f2edf (patch)
treeb9e069a61890301f66d3c074efdf83d77118e2ac /org.eclipse.mylyn.bugzilla.core
parentded7260ff216ecee4de8ddde589c63e597df5242 (diff)
downloadorg.eclipse.mylyn.tasks-293d2c90ed970849db574e73fc3b89913a6f2edf.tar.gz
org.eclipse.mylyn.tasks-293d2c90ed970849db574e73fc3b89913a6f2edf.tar.xz
org.eclipse.mylyn.tasks-293d2c90ed970849db574e73fc3b89913a6f2edf.zip
NEW - bug 235017: task data migration fails
https://bugs.eclipse.org/bugs/show_bug.cgi?id=235017
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core')
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryConfiguration.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryConfiguration.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryConfiguration.java
index 8b0800c21..b2d1957fc 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryConfiguration.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryConfiguration.java
@@ -478,12 +478,8 @@ public class RepositoryConfiguration implements Serializable {
public void addValidOperations(TaskData bugReport) {
TaskAttribute attributeStatus = bugReport.getRoot().getMappedAttribute(TaskAttribute.STATUS);
-
BUGZILLA_REPORT_STATUS status = BUGZILLA_REPORT_STATUS.NEW;
- if (attributeStatus == null) {
- StatusHandler.log(new Status(IStatus.WARNING, BugzillaCorePlugin.PLUGIN_ID,
- "Status not found for task. Synchronize task to correct."));
- } else {
+ if (attributeStatus != null) {
try {
status = BUGZILLA_REPORT_STATUS.valueOf(attributeStatus.getValue());
} catch (RuntimeException e) {

Back to the top