Sat, 29 Aug 2020 11:51:12 +0200
fixes wrong redirect url after committing an issue
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 11:49:53 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/modules/ProjectsModule.java Sat Aug 29 11:51:12 2020 +0200 @@ -368,7 +368,7 @@ dao.getIssueDao().saveOrUpdate(issue); // specifying the issue parameter keeps the edited issue as menu item - setRedirectLocation(req, "./projects/view/?pid=" + issue.getProject().getId()); + setRedirectLocation(req, "./projects/view?pid=" + issue.getProject().getId()); setContentPage(req, Constants.JSP_COMMIT_SUCCESSFUL); } catch (NoSuchElementException | IllegalArgumentException | SQLException ex) { // TODO: set request attribute with error text