From 34a57758c3518b32778daf1df937cdd8c0cf2c6b Mon Sep 17 00:00:00 2001 From: KrupaNagabhushan Date: Fri, 4 Dec 2020 12:54:44 +0000 Subject: Fix Inputs Value field to allow null value Issue-ID: SDC-3430 Signed-off-by: KrupaNagabhushan Change-Id: I845aeb2bf380b5661b5c88bc3f00f388a075efbf --- .../java/org/openecomp/sdc/be/components/impl/InputsBusinessLogic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catalog-be') diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/InputsBusinessLogic.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/InputsBusinessLogic.java index c99b13a118..69adb90493 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/InputsBusinessLogic.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/InputsBusinessLogic.java @@ -268,7 +268,7 @@ public class InputsBusinessLogic extends BaseBusinessLogic { Either isValid = propertyOperation.validateAndUpdatePropertyValue(propertyType, newInput.getDefaultValue(), true, innerType, dataTypes); - String newValue = currentInput.getDefaultValue(); + String newValue = newInput.getDefaultValue(); if (isValid.isRight()) { Boolean res = isValid.right().value(); if (Boolean.FALSE.equals(res)) { -- cgit 1.2.3-korg