From 2e7494e73df189a22ec82c17bb838ac46c0965f6 Mon Sep 17 00:00:00 2001 From: Markus Block Date: Wed, 29 Sep 2021 18:49:35 +0200 Subject: [PATCH] fixed missing code due to merge Signed-off-by: Markus Block --- .../data/mappers/DistributionSetToProxyDistributionMapper.java | 1 + .../data/providers/DistributionSetStatelessDataProvider.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/common/data/mappers/DistributionSetToProxyDistributionMapper.java b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/common/data/mappers/DistributionSetToProxyDistributionMapper.java index a356d2f480..ce60bd81dc 100644 --- a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/common/data/mappers/DistributionSetToProxyDistributionMapper.java +++ b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/common/data/mappers/DistributionSetToProxyDistributionMapper.java @@ -32,6 +32,7 @@ public ProxyDistributionSet map(final DistributionSet distributionSet) { HawkbitCommonUtil.getFormattedNameVersion(distributionSet.getName(), distributionSet.getVersion())); proxyDistribution.setIsComplete(distributionSet.isComplete()); proxyDistribution.setRequiredMigrationStep(distributionSet.isRequiredMigrationStep()); + proxyDistribution.setIsValid(distributionSet.isValid()); final DistributionSetType type = distributionSet.getType(); final ProxyTypeInfo typeInfo = new ProxyTypeInfo(type.getId(), type.getName(), type.getKey()); diff --git a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/common/data/providers/DistributionSetStatelessDataProvider.java b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/common/data/providers/DistributionSetStatelessDataProvider.java index 962b542367..88175096ff 100644 --- a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/common/data/providers/DistributionSetStatelessDataProvider.java +++ b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/common/data/providers/DistributionSetStatelessDataProvider.java @@ -49,7 +49,7 @@ public DistributionSetStatelessDataProvider(final DistributionSetManagement dist @Override protected Page loadBackendEntities(final PageRequest pageRequest, final String filter) { final DistributionSetFilterBuilder builder = new DistributionSetFilterBuilder().setIsDeleted(false) - .setIsComplete(true); + .setIsComplete(true).setIsValid(true); if (!StringUtils.isEmpty(filter)) { builder.setFilterString(filter);