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 8d25c6482f..f5b7882659 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,7 +1872,6 @@ public class ApplicationManagerImpl implements ApplicationManager { this.applicationDAO.deleteAppCategories(categoryIds, applicationId, tenantId); appCategories.removeAll(removingAppCategories); } - applicationDTO.setAppCategories(appCategories); } List updatingAppTags = applicationUpdateWrapper.getTags(); @@ -1895,7 +1894,6 @@ public class ApplicationManagerImpl implements ApplicationManager { this.applicationDAO.deleteApplicationTags(removingTagIds, applicationId, tenantId); appTags.removeAll(removingTagList); } - applicationDTO.setTags(appTags); } if (!applicationDAO.updateApplication(applicationDTO, tenantId)){ ConnectionManagerUtil.rollbackDBTransaction();