From d69809b3195fadf71e95666fc2e5b7e40855cbdd Mon Sep 17 00:00:00 2001 From: dilini Date: Thu, 27 Apr 2023 21:39:13 +0530 Subject: [PATCH] Fix : Web-app url not updating --- .../application/mgt/core/impl/ApplicationManagerImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/application-mgt/io.entgra.application.mgt.core/src/main/java/io/entgra/application/mgt/core/impl/ApplicationManagerImpl.java b/components/application-mgt/io.entgra.application.mgt.core/src/main/java/io/entgra/application/mgt/core/impl/ApplicationManagerImpl.java index 3861744c56..fd23dd64ea 100644 --- a/components/application-mgt/io.entgra.application.mgt.core/src/main/java/io/entgra/application/mgt/core/impl/ApplicationManagerImpl.java +++ b/components/application-mgt/io.entgra.application.mgt.core/src/main/java/io/entgra/application/mgt/core/impl/ApplicationManagerImpl.java @@ -3186,8 +3186,8 @@ public class ApplicationManagerImpl implements ApplicationManager { if (!StringUtils.isEmpty(webAppReleaseWrapper.getVersion())) { applicationReleaseDTO.get().setVersion(webAppReleaseWrapper.getVersion()); } - if (!StringUtils.isEmpty(webAppReleaseWrapper.getVersion())) { - applicationReleaseDTO.get().setVersion(webAppReleaseWrapper.getVersion()); + if (!StringUtils.isEmpty(webAppReleaseWrapper.getUrl())) { + applicationReleaseDTO.get().setInstallerName(webAppReleaseWrapper.getUrl()); } if (!StringUtils.isEmpty(webAppReleaseWrapper.getDescription())) { applicationReleaseDTO.get().setDescription(webAppReleaseWrapper.getDescription());