diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/ApplicationManagerImpl.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/ApplicationManagerImpl.java index f5b7882659d..8d25c6482ff 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/ApplicationManagerImpl.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/ApplicationManagerImpl.java @@ -1872,6 +1872,7 @@ public class ApplicationManagerImpl implements ApplicationManager { this.applicationDAO.deleteAppCategories(categoryIds, applicationId, tenantId); appCategories.removeAll(removingAppCategories); } + applicationDTO.setAppCategories(appCategories); } List updatingAppTags = applicationUpdateWrapper.getTags(); @@ -1894,6 +1895,7 @@ public class ApplicationManagerImpl implements ApplicationManager { this.applicationDAO.deleteApplicationTags(removingTagIds, applicationId, tenantId); appTags.removeAll(removingTagList); } + applicationDTO.setTags(appTags); } if (!applicationDAO.updateApplication(applicationDTO, tenantId)){ ConnectionManagerUtil.rollbackDBTransaction();