This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new e4bb0757a4 Fixed: createTimesheetForThisWeek as admin fails (OFBIZ-13098) e4bb0757a4 is described below commit e4bb0757a43e1194d82354b218ff2816741a420a Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Thu May 23 09:08:05 2024 +0200 Fixed: createTimesheetForThisWeek as admin fails (OFBIZ-13098) At least the below block of controller request-maps was removed by OFBIZ-12262 <request-map uri="createTimesheetForThisWeek"> <security https="true" auth="true"/> <event type="service" invoke="createTimesheetForThisWeek"/> <response name="success" type="view" value="MyTimesheets"/> <response name="error" type="view" value="MyTimesheets"/> </request-map> <request-map uri="createQuickTimeEntry"> <security https="true" auth="true"/> <event type="service" invoke="createTimeEntry"/> <response name="success" type="view" value="MyTimesheets"/> <response name="error" type="view" value="MyTimesheets"/> </request-map> Maybe more there are a log of changes in the controller --- .../workeffort/webapp/workeffort/WEB-INF/controller.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/applications/workeffort/webapp/workeffort/WEB-INF/controller.xml b/applications/workeffort/webapp/workeffort/WEB-INF/controller.xml index 2c52a0af84..2ec3dbc49a 100644 --- a/applications/workeffort/webapp/workeffort/WEB-INF/controller.xml +++ b/applications/workeffort/webapp/workeffort/WEB-INF/controller.xml @@ -25,7 +25,7 @@ under the License. <include location="component://workeffort/webapp/workeffort/WEB-INF/workeffort-controller.xml"/> <include location="component://workeffort/webapp/workeffort/WEB-INF/icalendar-controller.xml"/> <description>Work Manager Module Site Configuration File</description> - + <!-- Events to run on every request before security (chains exempt) --> <!-- <preprocessor> @@ -153,6 +153,18 @@ under the License. <!-- Timesheet Requests --> <request-map uri="MyTimesheets"><security https="true" auth="true"/><response name="success" type="view" value="MyTimesheets"/></request-map> + <request-map uri="createTimesheetForThisWeek"> + <security https="true" auth="true"/> + <event type="service" invoke="createTimesheetForThisWeek"/> + <response name="success" type="view" value="MyTimesheets"/> + <response name="error" type="view" value="MyTimesheets"/> + </request-map> + <request-map uri="createQuickTimeEntry"> + <security https="true" auth="true"/> + <event type="service" invoke="createTimeEntry"/> + <response name="success" type="view" value="MyTimesheets"/> + <response name="error" type="view" value="MyTimesheets"/> + </request-map> <request-map uri="FindTimesheet"><security https="true" auth="true"/><response name="success" type="view" value="FindTimesheet"/></request-map> <request-map uri="EditTimesheet"><security https="true" auth="true"/><response name="success" type="view" value="EditTimesheet"/></request-map> @@ -371,6 +383,7 @@ under the License. <view-map name="EditWorkEffortTimeEntries" type="screen" page="component://workeffort/widget/WorkEffortScreens.xml#EditWorkEffortTimeEntries"/> <view-map name="MyTimesheets" type="screen" page="component://workeffort/widget/TimesheetScreens.xml#MyTimesheets"/> + <view-map name="FindTimesheet" type="screen" page="component://workeffort/widget/TimesheetScreens.xml#FindTimesheet"/> <view-map name="EditTimesheet" type="screen" page="component://workeffort/widget/TimesheetScreens.xml#EditTimesheet"/> <view-map name="EditTimesheetRoles" type="screen" page="component://workeffort/widget/TimesheetScreens.xml#EditTimesheetRoles"/>