Author: ashish
Date: Fri Jun 24 13:05:20 2016
New Revision: 1750082
URL:
http://svn.apache.org/viewvc?rev=1750082&view=revLog:
Applied patch from jira issue - OFBIZ-7252 - Error adding task to backlog.
Thanks Montalbano for creating task and be there in discussion. Thanks Pritam for providing the patch.
Modified:
ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml
Modified: ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml?rev=1750082&r1=1750081&r2=1750082&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml (original)
+++ ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml Fri Jun 24 13:05:20 2016
@@ -26,8 +26,6 @@
<entity-and entity-name="CustRequestWorkEffort" list="sprintBacklogTasks">
<field-map field-name="workEffortId" from-field="parameters.taskId"/>
</entity-and>
- <set field="cus"/>
- <set field="parameters.custRequestId" value="${groovy: if (sprintBacklogTasks.size() != 0 && task != null) return sprintBacklogTasks.get(0).getString("custRequestId")}"/>
<entity-condition entity-name="ScrumProjectSprintBacklog" list="scrumProjectSprintBacklogs">
<condition-list combine="and">
<condition-expr field-name="childWorkEffortId" from-field="parameters.sprintId" ignore-if-empty="true"/>
@@ -64,7 +62,6 @@
<field-map field-name="taskId" from-field="taskId"/>
</service>
</actions>
- <alt-target use-when="task!=null" target="updateSprintTask"/>
<field name="projectId"><hidden value="${parameters.projectId}"/></field>
<field name="sprintId"><hidden value="${parameters.sprintId}"/></field>
<field name="workEffortId" use-when="task!=null"><hidden value="${parameters.taskId}"/></field>