diff -r 1a0ac419f714 -r bd1a76c91d5b src/java/de/uapcore/lightpit/AbstractLightPITServlet.java --- a/src/java/de/uapcore/lightpit/AbstractLightPITServlet.java Sat Mar 31 18:11:09 2018 +0200 +++ b/src/java/de/uapcore/lightpit/AbstractLightPITServlet.java Sat Mar 31 19:35:04 2018 +0200 @@ -249,9 +249,11 @@ private void doProcess(HttpMethod method, HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { - HttpSession session = req.getSession(); + // Synchronize module information with database + getModuleManager().syncWithDatabase(getDatabaseFacade()); // choose the requested language as session language (if available) or fall back to english, otherwise + HttpSession session = req.getSession(); if (session.getAttribute(Constants.SESSION_ATTR_LANGUAGE) == null) { Optional> availableLanguages = Functions.availableLanguages(getServletContext()).map(Arrays::asList); Optional reqLocale = Optional.of(req.getLocale());