Commit dad2b40d9ed6855b78f5dd699d6b2f4f0fa8d909

Authored by Carlos Alberto
1 parent 9d623fd1
Exists in master

Internacionalização de mensagem de chave duplicada de menu

cit-portal-api/src/main/java/br/com/centralit/api/service/impl/MenuServiceImpl.java
... ... @@ -1127,7 +1127,7 @@ public class MenuServiceImpl extends GenericServiceImpl<Menu, Long> implements M
1127 1127 if (menu.isNew()) {
1128 1128  
1129 1129 if (UtilObjeto.isReferencia(menuTemp) && UtilObjeto.isReferencia(menuTemp.getId())) {
1130   - throw new BusinessException("MSG.CHAVE_MENU_DUPLICADA", CodigoErro.REGRA_NEGOCIO.getValue(), "");
  1130 + throw new BusinessException("PORTAL.MSG.CHAVE_MENU_DUPLICADA", CodigoErro.REGRA_NEGOCIO.getValue(), "");
1131 1131 }
1132 1132  
1133 1133 if (UtilObjeto.isReferencia(menu.getPagina())) {
... ...