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:
@@ -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"/>
|
||||
|
||||
@@ -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 > 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">
|
||||
|
||||
Reference in New Issue
Block a user