From cf97efb8a451a8c4dad311af2a2c76ca3ab37e98 Mon Sep 17 00:00:00 2001 From: Karoline Saatkamp Date: Mon, 7 Dec 2020 15:19:08 +0100 Subject: [PATCH] fix tag added when cloning it for each participant Signed-off-by: Karoline Saatkamp --- .../rest/resources/servicetemplates/ServiceTemplateResource.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.eclipse.winery.repository.rest/src/main/java/org/eclipse/winery/repository/rest/resources/servicetemplates/ServiceTemplateResource.java b/org.eclipse.winery.repository.rest/src/main/java/org/eclipse/winery/repository/rest/resources/servicetemplates/ServiceTemplateResource.java index 16fb7c33d9..e33b804b6f 100644 --- a/org.eclipse.winery.repository.rest/src/main/java/org/eclipse/winery/repository/rest/resources/servicetemplates/ServiceTemplateResource.java +++ b/org.eclipse.winery.repository.rest/src/main/java/org/eclipse/winery/repository/rest/resources/servicetemplates/ServiceTemplateResource.java @@ -695,6 +695,7 @@ public List createParticipantsVersion() throws IOException { // create list of tags to add to service template TTags tTagList = new TTags(); + tTagList.getTag().addAll(tags); // new tag to define participant of service template TTag participantTag = new TTag();