Sat, 29 Aug 2020 16:48:15 +0200
fixes issue not containing version information in issue form
src/main/java/de/uapcore/lightpit/modules/ProjectsModule.java | file | annotate | diff | comparison | revisions |
--- a/src/main/java/de/uapcore/lightpit/modules/ProjectsModule.java Sat Aug 29 12:15:48 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/modules/ProjectsModule.java Sat Aug 29 16:48:15 2020 +0200 @@ -327,7 +327,9 @@ final var issueParam = getParameter(req, Integer.class, "issue"); if (issueParam.isPresent()) { - final var issue = dao.getIssueDao().find(issueParam.get()); + final var issueDao = dao.getIssueDao(); + final var issue = issueDao.find(issueParam.get()); + issueDao.joinVersionInformation(issue); req.getSession().setAttribute(SESSION_ATTR_SELECTED_PROJECT, issue.getProject().getId()); populate(viewModel, req, dao); configure(viewModel, issue, dao);