summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>2020-12-04 12:54:44 +0000
committerChristophe Closset <christophe.closset@intl.att.com>2021-01-12 13:52:09 +0000
commit34a57758c3518b32778daf1df937cdd8c0cf2c6b (patch)
tree81c30e0c61940003e2889c9452f91561ddf21ece
parent69712c820f5ed9345f0f788f8dea4ae16f5f5f00 (diff)
Fix Inputs Value field to allow null value
Issue-ID: SDC-3430 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I845aeb2bf380b5661b5c88bc3f00f388a075efbf
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/InputsBusinessLogic.java2
1 files changed, 1 insertions, 1 deletions
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<Object, Boolean> 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)) {