Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-08-26 20:24:04 +0000
committerspingel2009-08-26 20:24:04 +0000
commitae16151e6d5a84e047b5050bead92f707a87586b (patch)
treef456ddcd97ec8a5238e5d856d4ddeacab732d840 /org.eclipse.mylyn.bugzilla.ui
parent11be8bbb5f2358e6471b7233f9ebfd341c747297 (diff)
downloadorg.eclipse.mylyn.tasks-ae16151e6d5a84e047b5050bead92f707a87586b.tar.gz
org.eclipse.mylyn.tasks-ae16151e6d5a84e047b5050bead92f707a87586b.tar.xz
org.eclipse.mylyn.tasks-ae16151e6d5a84e047b5050bead92f707a87586b.zip
NEW - bug 286589: [releng] setup mylyn.eclipse.org
https://bugs.eclipse.org/bugs/show_bug.cgi?id=286589
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui')
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
index 8691a90ec..47dec17ee 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
@@ -37,6 +37,7 @@ import org.eclipse.jface.fieldassist.IContentProposalProvider;
import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.window.Window;
+import org.eclipse.mylyn.commons.core.CoreUtil;
import org.eclipse.mylyn.commons.core.StatusHandler;
import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
@@ -1889,8 +1890,11 @@ public class BugzillaSearchPage extends AbstractRepositoryQueryPage implements L
return;
}
- MessageDialog.openError(shell, Messages.BugzillaSearchPage_Error_updating_search_options,
- MessageFormat.format(Messages.BugzillaSearchPage_Error_was_X, ex.getCause().getMessage()));
+ // FIXME improve error reporting
+ if (!CoreUtil.TEST_MODE) {
+ MessageDialog.openError(shell, Messages.BugzillaSearchPage_Error_updating_search_options,
+ MessageFormat.format(Messages.BugzillaSearchPage_Error_was_X, ex.getCause().getMessage()));
+ }
return;
} catch (InterruptedException ex) {

Back to the top