Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbecker2010-08-13 19:32:56 +0000
committerfbecker2010-08-13 19:32:56 +0000
commit76b454c52bd4114d64dd02c6fc034ae5f3912daa (patch)
treed6fa17913638f43c3e136ce93c95049ba4c3a1a7 /org.eclipse.mylyn.bugzilla.ui
parentf764c737fbace31c9f8d0a01ba9e8298ecaa186a (diff)
downloadorg.eclipse.mylyn.tasks-76b454c52bd4114d64dd02c6fc034ae5f3912daa.tar.gz
org.eclipse.mylyn.tasks-76b454c52bd4114d64dd02c6fc034ae5f3912daa.tar.xz
org.eclipse.mylyn.tasks-76b454c52bd4114d64dd02c6fc034ae5f3912daa.zip
ASSIGNED - 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.ui')
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositorySettingsPage.java23
1 files changed, 1 insertions, 22 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositorySettingsPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositorySettingsPage.java
index ac23e185c..9605dab9a 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositorySettingsPage.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositorySettingsPage.java
@@ -454,28 +454,7 @@ public class BugzillaRepositorySettingsPage extends AbstractRepositorySettingsPa
repository.setProperty(IBugzillaConstants.BUGZILLA_LANGUAGE_SETTING, languageSettingCombo.getText());
repository.setProperty(IBugzillaConstants.BUGZILLA_USE_XMLRPC,
Boolean.toString(useXMLRPCstatusTransitions.getSelection()));
- if (oldDescriptorFile == null || !descriptorFile.getText().equals(oldDescriptorFile)) {
- repository.setProperty(IBugzillaConstants.BUGZILLA_DESCRIPTOR_FILE, descriptorFile.getText());
- }
- if (repositoryConfiguration != null) {
- try {
- final String descriptorFileName = descriptorFile.getText();
- final boolean useXMLRPCstatusTransitionsSelection = useXMLRPCstatusTransitions.getSelection();
- getWizard().getContainer().run(true, false, new IRunnableWithProgress() {
- public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
- repositoryConfiguration.setValidTransitions(monitor, descriptorFileName,
- useXMLRPCstatusTransitionsSelection);
- }
- });
- } catch (InvocationTargetException e1) {
- if (e1.getCause() != null) {
- setErrorMessage(e1.getCause().getMessage());
- }
- } catch (InterruptedException e1) {
- // ignore
- }
- }
-
+ repository.setProperty(IBugzillaConstants.BUGZILLA_DESCRIPTOR_FILE, descriptorFile.getText());
if (!autodetectPlatformOS.getSelection()) {
repository.setProperty(IBugzillaConstants.BUGZILLA_DEF_PLATFORM,
String.valueOf(defaultPlatformCombo.getItem(defaultPlatformCombo.getSelectionIndex())));

Back to the top