Index: standard/project/web/src/main/java/egovframework/api/rivalWar/menu/controller/AdminMenuController.java =================================================================== diff -u -r50cb1a0eb5e46fcdc64d3c91c2d29851d58b19c9 -r974e18d8bc54bfc15498088d56968c25bdeabf44 --- standard/project/web/src/main/java/egovframework/api/rivalWar/menu/controller/AdminMenuController.java (.../AdminMenuController.java) (revision 50cb1a0eb5e46fcdc64d3c91c2d29851d58b19c9) +++ standard/project/web/src/main/java/egovframework/api/rivalWar/menu/controller/AdminMenuController.java (.../AdminMenuController.java) (revision 974e18d8bc54bfc15498088d56968c25bdeabf44) @@ -106,7 +106,16 @@ if (bindingResult.hasErrors()) throw new RuntimeException(); - jsTreeHibernateDTO.setStatus(menuService.removeNode(jsTreeHibernateDTO)); + MenuDTO targetMenuNode = menuService.getNode(jsTreeHibernateDTO); + + HashSet dummyChatDTOs = new HashSet(); + targetMenuNode.setDirectChatDTOs(dummyChatDTOs); + if ( menuService.alterNode(targetMenuNode) == 1 ){ + jsTreeHibernateDTO.setStatus(menuService.removeNode(jsTreeHibernateDTO)); + }else{ + throw new RuntimeException("none remove target node"); + } + setJsonDefaultSetting(jsTreeHibernateDTO); ModelAndView modelAndView = new ModelAndView("jsonView");