summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2023-09-18 16:53:14 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2023-09-18 15:56:10 +0000
commit7bffcb811876bb4f0b3e5b5df27cc0aa6bd96541 (patch)
tree7a55403c7bcb494d8f45da89a27e7a5d6c5034a2
parent7afa62c04d66f58a03e8fa189009bb96257192a9 (diff)
Fix 'Changing VFC version wipes List type property values'-bug
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I02aea9516324393e5e48f005e2f83678cc77823a Issue-ID: SDC-4625
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/merge/instance/DataForMergeHolder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/merge/instance/DataForMergeHolder.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/merge/instance/DataForMergeHolder.java
index d838eb1cc0..7a75f0aec1 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/merge/instance/DataForMergeHolder.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/merge/instance/DataForMergeHolder.java
@@ -116,6 +116,7 @@ public class DataForMergeHolder {
Optional.ofNullable(origComponentInstanceProperties).orElse(Collections.emptyList()).forEach(property -> {
ComponentInstanceProperty propertyCopy = new ComponentInstanceProperty();
propertyCopy.setType(property.getType());
+ propertyCopy.setSchema(property.getSchema());
propertyCopy.setName(property.getName());
propertyCopy.setValue(property.getValue());
propertyCopy.setUniqueId(property.getUniqueId());