Commit dad2b40d9ed6855b78f5dd699d6b2f4f0fa8d909
1 parent
9d623fd1
Exists in
master
Internacionalização de mensagem de chave duplicada de menu
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
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())) { | ... | ... |