Index: core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/controller/JsTreeHibernateController.java =================================================================== diff -u -rf5093f36ac06f711a8786f580362129d1a2d05f2 -r560572e93c3bb9830d1c1db678de13dc8d358382 --- core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/controller/JsTreeHibernateController.java (.../JsTreeHibernateController.java) (revision f5093f36ac06f711a8786f580362129d1a2d05f2) +++ core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/controller/JsTreeHibernateController.java (.../JsTreeHibernateController.java) (revision 560572e93c3bb9830d1c1db678de13dc8d358382) @@ -166,9 +166,9 @@ @RequestMapping(value = "/alterNode.do") public ModelAndView alterNode(@Validated(value = AlterNode.class) JsTreeHibernateDTO jsTreeHibernateDTO, BindingResult bindingResult, ModelMap model) throws Exception { - //if (bindingResult.hasErrors()) { - // throw new RuntimeException(); - //} + if (bindingResult.hasErrors()) { + throw new RuntimeException(); + } jsTreeHibernateDTO.setC_title(Util_TitleChecker.StringReplace(jsTreeHibernateDTO.getC_title())); @@ -184,8 +184,9 @@ @RequestMapping(value = "/alterNodeType.do", method = RequestMethod.POST) public ModelAndView alterNodeType(@Validated(value = AlterNodeType.class) JsTreeHibernateDTO jsTreeHibernateDTO, BindingResult bindingResult, ModelMap model) throws Exception { - if (bindingResult.hasErrors()) + if (bindingResult.hasErrors()) { throw new RuntimeException(); + } jsTreeHibernateService.alterNodeType(jsTreeHibernateDTO); setJsonDefaultSetting(jsTreeHibernateDTO);