You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2014/03/12 19:21:11 UTC
svn commit: r1576841 - in /ofbiz/branches/release12.04: ./
applications/order/widget/ordermgr/RequirementForms.xml
Author: jleroux
Date: Wed Mar 12 18:21:10 2014
New Revision: 1576841
URL: http://svn.apache.org/r1576841
Log:
"Applied fix from trunk for revision: 1576839"
------------------------------------------------------------------------
r1576839 | jleroux | 2014-03-12 19:20:26 +0100 (mer. 12 mars 2014) | 3 lignes
Fixes a bug reported by Rong "Error when search Requirements" https://issues.apache.org/jira/browse/OFBIZ-5571
jleroux: I simply replaced bsh by groovy. I also spotted a typo: facilityIdId
------------------------------------------------------------------------
Modified:
ofbiz/branches/release12.04/ (props changed)
ofbiz/branches/release12.04/applications/order/widget/ordermgr/RequirementForms.xml
Propchange: ofbiz/branches/release12.04/
------------------------------------------------------------------------------
Merged /ofbiz/trunk:r1576839
Modified: ofbiz/branches/release12.04/applications/order/widget/ordermgr/RequirementForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/applications/order/widget/ordermgr/RequirementForms.xml?rev=1576841&r1=1576840&r2=1576841&view=diff
==============================================================================
--- ofbiz/branches/release12.04/applications/order/widget/ordermgr/RequirementForms.xml (original)
+++ ofbiz/branches/release12.04/applications/order/widget/ordermgr/RequirementForms.xml Wed Mar 12 18:21:10 2014
@@ -64,8 +64,8 @@ under the License.
</service>
</actions>
<row-actions>
- <set field="lookupProductId" value="${bsh: (productId == null? "_NA_": productId);}" type="String"/>
- <set field="lookupFacilityId" value="${bsh: (facilityIdId == null? "_NA_": facilityId);}" type="String"/>
+ <set field="lookupProductId" value="${groovy: productId == null? '_NA_' : productId}" type="String"/>
+ <set field="lookupFacilityId" value="${groovy: facilityId == null? '_NA_' : facilityId}" type="String"/>
<service service-name="getInventoryAvailableByFacility" result-map="resultQoh">
<field-map field-name="productId" from-field="lookupProductId"/>
<field-map field-name="facilityId" from-field="lookupFacilityId"/>