Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSusan Franklin2009-05-20 20:27:43 +0000
committerSusan Franklin2009-05-20 20:27:43 +0000
commit18ba9d915ec90acb59a47a1de7261c66b4195075 (patch)
tree61aa70931e36c77dbefc49ba30daa078f22509f6
parent68f57a4bec860274e2a340fbd4d3c93854bddd29 (diff)
downloadrt.equinox.p2-18ba9d915ec90acb59a47a1de7261c66b4195075.tar.gz
rt.equinox.p2-18ba9d915ec90acb59a47a1de7261c66b4195075.tar.xz
rt.equinox.p2-18ba9d915ec90acb59a47a1de7261c66b4195075.zip
Bug 276963 - [ui] empty/broken wizard when a suggested update is not valid
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/provisional/p2/ui/dialogs/UpdateWizard.java19
1 files changed, 11 insertions, 8 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/provisional/p2/ui/dialogs/UpdateWizard.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/provisional/p2/ui/dialogs/UpdateWizard.java
index 96c0bcfc4..687a31fa8 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/provisional/p2/ui/dialogs/UpdateWizard.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/provisional/p2/ui/dialogs/UpdateWizard.java
@@ -1,11 +1,11 @@
/*******************************************************************************
- * Copyright (c) 2007, 2009 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
+ * Copyright (c) 2007, 2009 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
* IBM Corporation - initial API and implementation
* Genuitec, LLC - added license support
*******************************************************************************/
@@ -255,7 +255,10 @@ public class UpdateWizard extends WizardWithLicenses {
public IWizardPage getStartingPage() {
if (skipSelectionsPage) {
- return getNextPage(mainPage);
+ // TODO see https://bugs.eclipse.org/bugs/show_bug.cgi?id=276963
+ IWizardPage page = getNextPage(mainPage);
+ if (page != null)
+ return page;
}
return mainPage;
}

Back to the top