Fixed: Request createWorkEffortPartyAssign generates an error (OFBIZ-12556)

The request createWorkEffortPartyAssign is called after submitting the form AddWorkEffortPartyAssign, when the user wants to add a party to a project. This raise an error because it removed from workeffort component after the screen dynamising
Thanks to Pierre Smith for raise this issue and Martin Naumann for the fix patch
This commit is contained in:
Nicolas Malin
2022-04-22 11:59:04 +02:00
parent eac1fb508f
commit 070c3c09d5
2 changed files with 9 additions and 3 deletions
@@ -569,8 +569,14 @@
<request-map uri="addWorkEffortPartyAssign">
<security https="true" auth="true"/>
<event type="service" invoke="assignPartyToWorkEffort"/>
<response name="success" type="view" value="listResourcesProject"/>
<response name="error" type="view" value="listResourcesProject"/>
<response name="success" type="view" value="ListWorkEffortPartyAssigns"/>
<response name="error" type="view" value="ListWorkEffortPartyAssigns"/>
</request-map>
<request-map uri="deleteWorkEffortPartyAssign">
<security https="true" auth="true"/>
<event type="service" invoke="deletePartyToWorkEffortAssignment"/>
<response name="success" type="view" value="ListWorkEffortPartyAssigns"/>
<response name="error" type="view" value="ListWorkEffortPartyAssigns"/>
</request-map>
<request-map uri="addTaskPartyAssign">
<security https="true" auth="true"/>
+1 -1
View File
@@ -579,7 +579,7 @@
<field name="thruDate" title="${uiLabelMap.CommonThruDate}"><display type="date-time"/></field>
<field name="expireButton" widget-style="smallSubmit" use-when="${thruDate==null || (thruDate &gt; nowTimestamp)}"><submit button-type="button"/></field>
</form>
<form name="AddWorkEffortPartyAssign" target="createWorkEffortPartyAssign" title="" type="single"
<form name="AddWorkEffortPartyAssign" target="addWorkEffortPartyAssign" title="" type="single"
header-row-style="header-row" default-table-style="basic-table">
<actions>
<entity-condition entity-name="PartyRoleAndPartyDetail" distinct="true" list="projectResources">