log4j2 #1

Merged
konstantina.galouni merged 3 commits from log4j2 into master 2023-05-03 12:14:51 +02:00
1 changed files with 9 additions and 0 deletions
Showing only changes of commit 58f6612945 - Show all commits

View File

@ -382,5 +382,14 @@ public class MenuService {
menuDAO.save(menu);
log.debug("menu saved!");
}
List<MenuItem> menuItems = menuItemDAO.findByPortalPid(old_pid);
if(menuItems != null) {
menuItems.forEach(menuItem -> {
menuItem.setPortalPid(new_pid);
menuItemDAO.save(menuItem);
log.debug("menuItem saved!");
});
}
}
}