Author: deepak
Date: Thu Nov 10 08:26:31 2016
New Revision: 1769056
URL:
http://svn.apache.org/viewvc?rev=1769056&view=revLog:
Fixed: Fixed incorrect closing of set-service-fields.
Thanks Suraj Khurana for reporting the issue.
Modified:
ofbiz/trunk/applications/workeffort/minilang/workeffort/WorkEffortSimpleServices.xml
Modified: ofbiz/trunk/applications/workeffort/minilang/workeffort/WorkEffortSimpleServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/minilang/workeffort/WorkEffortSimpleServices.xml?rev=1769056&r1=1769055&r2=1769056&view=diff==============================================================================
--- ofbiz/trunk/applications/workeffort/minilang/workeffort/WorkEffortSimpleServices.xml (original)
+++ ofbiz/trunk/applications/workeffort/minilang/workeffort/WorkEffortSimpleServices.xml Thu Nov 10 08:26:31 2016
@@ -231,7 +231,7 @@ under the License.
<if-empty field="targetWorkEffortId">
<sequenced-id sequence-name="WorkEffort" field="targetWorkEffortId" />
</if-empty>
- <set-service-fields service-name="createWorkEffort" map="sourceWorkEffort" to-map="createWorkEffortCtx"/> />
+ <set-service-fields service-name="createWorkEffort" map="sourceWorkEffort" to-map="createWorkEffortCtx"/>
<set field="createWorkEffortCtx.workEffortId" from-field="targetWorkEffortId" />
<set field="createWorkEffortCtx.userLogin" from-field="parameters.userLogin" />
<call-service service-name="createWorkEffort" in-map-name="createWorkEffortCtx" />
@@ -241,7 +241,7 @@ under the License.
</entity-one>
<set field="copyWorkEffortAssocs" from-field="parameters.copyWorkEffortAssocs" default-value="N" />
<if-compare field="copyWorkEffortAssocs" operator="equals" value="Y">
- <set-service-fields service-name="copyWorkEffortAssocs" map="parameters" to-map="copyWorkEffortAssocsCtx"/> />
+ <set-service-fields service-name="copyWorkEffortAssocs" map="parameters" to-map="copyWorkEffortAssocsCtx"/>
<set field="copyWorkEffortAssocsCtx.targetWorkEffortId" from-field="targetWorkEffortId" />
<call-service service-name="copyWorkEffortAssocs" in-map-name="copyWorkEffortAssocsCtx" />
<check-errors />
@@ -728,7 +728,7 @@ under the License.
<set field="workEffortIdTo" from-field="workEffortAssoc.workEffortIdTo" />
<if-compare field="deepCopy" operator="equals" value="Y">
<clear-field field="copyWorkEffortCtx" />
- <set-service-fields service-name="copyWorkEffort" map="parameters" to-map="copyWorkEffortCtx"/> />
+ <set-service-fields service-name="copyWorkEffort" map="parameters" to-map="copyWorkEffortCtx"/>
<clear-field field="copyWorkEffortCtx.targetWorkEffortId"/>
<set field="copyWorkEffortCtx.sourceWorkEffortId" from-field="workEffortIdTo" />
<set field="copyWorkEffortCtx.copyWorkEffortAssocs" value="Y" />