From b9540bd120416956a8a0b58fee04d04c465cb1ae Mon Sep 17 00:00:00 2001 From: talig Date: Thu, 15 Nov 2018 15:45:57 +0200 Subject: Fix bug in update input/output parameters Change-Id: I52a50ab4730b021d190a3a9bcd3830bfaf749871 Issue-ID: SDC-1915 Signed-off-by: talig --- .../org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImpl.java | 1 + 1 file changed, 1 insertion(+) (limited to 'workflow-designer-be/src/main/java') diff --git a/workflow-designer-be/src/main/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImpl.java b/workflow-designer-be/src/main/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImpl.java index 75629d0b..f2f8c276 100644 --- a/workflow-designer-be/src/main/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImpl.java +++ b/workflow-designer-be/src/main/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImpl.java @@ -266,6 +266,7 @@ public class WorkflowVersionManagerImpl implements WorkflowVersionManager { if (retrievedParam == null) { parameterRepository.create(workflowId, versionId, role, parameter); } else { + parameter.setId(retrievedParam.getId()); parameterRepository.update(workflowId, versionId, role, parameter); namesOfParamsToKeep.add(parameter.getName()); } -- cgit 1.2.3-korg