Fri, 09 Oct 2020 11:50:21 +0200
adding a new project redirects to the projects overview (because we do not retrieve the ID of the inserted project yet)
src/main/java/de/uapcore/lightpit/modules/ProjectsModule.java | file | annotate | diff | comparison | revisions |
--- a/src/main/java/de/uapcore/lightpit/modules/ProjectsModule.java Fri Oct 09 11:46:10 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/modules/ProjectsModule.java Fri Oct 09 11:50:21 2020 +0200 @@ -164,7 +164,7 @@ dao.getProjectDao().saveOrUpdate(project); - setRedirectLocation(req, "./projects/versions?pid="+project.getId()); + setRedirectLocation(req, "./projects/"); setContentPage(req, Constants.JSP_COMMIT_SUCCESSFUL); LOG.debug("Successfully updated project {}", project.getName());