Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbecker2010-09-19 20:47:42 +0000
committerfbecker2010-09-19 20:47:42 +0000
commitfed39ca89c4916ea68b2d1ff53e6864e6568aebf (patch)
tree42dc4bb32b4fb57f3868b6e8e7b0742046779cea /org.eclipse.mylyn.bugzilla.core
parentd741808b723e0f7d7ab29c7f22b4b5a477bf9fd6 (diff)
downloadorg.eclipse.mylyn.tasks-fed39ca89c4916ea68b2d1ff53e6864e6568aebf.tar.gz
org.eclipse.mylyn.tasks-fed39ca89c4916ea68b2d1ff53e6864e6568aebf.tar.xz
org.eclipse.mylyn.tasks-fed39ca89c4916ea68b2d1ff53e6864e6568aebf.zip
RESOLVED - bug 314744: support defaultmilestone from Product.get XMLRPC
https://bugs.eclipse.org/bugs/show_bug.cgi?id=314744
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core')
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java
index 57cf3cfa7..77613b526 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java
@@ -514,6 +514,8 @@ public class BugzillaTaskDataHandler extends AbstractTaskDataHandler {
String defaultMilestone = repositoryConfiguration.getDefaultMilestones(product);
if (defaultMilestone != null) {
attributeTargetMilestone.setValue(defaultMilestone);
+ } else {
+ attributeTargetMilestone.setValue(optionValues.get(0));
}
} else {
attributeTargetMilestone.setValue(optionValues.get(0));

Back to the top