From 849d38d3cc501dd6e40b33f9b832ba86235e6d1b Mon Sep 17 00:00:00 2001 From: Marcos Martins Date: Mon, 4 Sep 2023 16:13:29 -0300 Subject: [PATCH] LRAC-14467 set publishable to true when adding an experiment on Asah --- .../connector/internal/client/model/util/ExperimentUtil.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/dxp/apps/segments/segments-asah-connector/src/main/java/com/liferay/segments/asah/connector/internal/client/model/util/ExperimentUtil.java b/modules/dxp/apps/segments/segments-asah-connector/src/main/java/com/liferay/segments/asah/connector/internal/client/model/util/ExperimentUtil.java index b7bf30d1dfa9b4..f30f2c3673305a 100644 --- a/modules/dxp/apps/segments/segments-asah-connector/src/main/java/com/liferay/segments/asah/connector/internal/client/model/util/ExperimentUtil.java +++ b/modules/dxp/apps/segments/segments-asah-connector/src/main/java/com/liferay/segments/asah/connector/internal/client/model/util/ExperimentUtil.java @@ -124,6 +124,8 @@ protected static Experiment toExperiment( segmentsExperiment.getWinnerSegmentsExperienceKey()); } + experiment.setPublishable(true); + SegmentsExperience segmentsExperience = segmentsExperienceLocalService.getSegmentsExperience( segmentsExperiment.getSegmentsExperienceId());