This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch release22.01 in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
The following commit(s) were added to refs/heads/release22.01 by this push: new 68c7a4107 Improved: projectView doesn't show the newly created project after creation ( (OFBIZ-12601) 68c7a4107 is described below commit 68c7a4107d3f3f3900b0dfb2994b74baa3cdb18d Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Wed Apr 20 09:36:20 2022 +0200 Improved: projectView doesn't show the newly created project after creation ( (OFBIZ-12601) "Previously" the project creation directly lead to the ProjectView screen within the context of the newly created project. In this way users were able to directly add e.g. resources to the newly created project without selecting it again within the FindProject screen. Within the patch provided I just copied the success handling from the updateProject request mapping which seems to restore the initial functionality again. jleroux: Even if I don't know to what to compare in past, I indeed see no reasons to not do so. Thanks: Sixty One for the patch --- projectmgr/webapp/projectmgr/WEB-INF/controller.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projectmgr/webapp/projectmgr/WEB-INF/controller.xml b/projectmgr/webapp/projectmgr/WEB-INF/controller.xml index b977df749..db565690d 100644 --- a/projectmgr/webapp/projectmgr/WEB-INF/controller.xml +++ b/projectmgr/webapp/projectmgr/WEB-INF/controller.xml @@ -82,7 +82,7 @@ <request-map uri="createProject"> <security https="true" auth="true"/> <event type="service" invoke="createProject"/> - <response name="success" type="request-redirect-noparam" value="projectView"/> + <response name="success" type="view" value="projectView"/> <response name="error" type="view" value="EditProject"/> </request-map> <request-map uri="updateProject"> @@ -679,7 +679,7 @@ <response name="success" type="view" value="EditWorkEffortSurveyAppls"/> <response name="error" type="view" value="EditWorkEffortSurveyAppls"/> </request-map> - + <!-- end of request mappings --> <!-- View Mappings -->