summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault (Ericsson)2013-05-09 15:12:29 (EDT)
committerPascal Rapicault2013-05-09 15:12:29 (EDT)
commit1172ab99c839dc1d8f67967b0ed060b8bc8614be (patch)
treef7d2b68d63173a92461a72b531f725dcf8cf0041
parenta8ed99d23d7aa232d68140c4ac3bc298f9ada02c (diff)
downloadrt.equinox.p2-1172ab99c839dc1d8f67967b0ed060b8bc8614be.zip
rt.equinox.p2-1172ab99c839dc1d8f67967b0ed060b8bc8614be.tar.gz
rt.equinox.p2-1172ab99c839dc1d8f67967b0ed060b8bc8614be.tar.bz2
Bug 407335 - [UI] NPE trying to install when "filter on env" is setI20130513-2000I20130512-2000I20130511-1500I20130510-2000I20130509-2000
through product configuration file
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/QueryProvider.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/QueryProvider.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/QueryProvider.java
index 3bee4d9..9cb6a53 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/QueryProvider.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/QueryProvider.java
@@ -90,6 +90,7 @@ public class QueryProvider {
IUViewQueryContext context = element.getQueryContext();
if (context == null) {
context = ProvUI.getQueryContext(policy);
+ context.setInstalledProfileId(ui.getProfileId());
}
switch (queryType) {
case ARTIFACT_REPOS :