Fix public app installing issue in APPM

4.x.x
lasanthaDLPDS 5 years ago committed by Jayasanka
parent e612334fd4
commit 07d87ae4f2

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

Loading…
Cancel
Save