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:07 UTC

svn commit: r1576840 - in /ofbiz/branches/release13.07: ./ applications/order/widget/ordermgr/RequirementForms.xml

Author: jleroux
Date: Wed Mar 12 18:21:07 2014
New Revision: 1576840

URL: http://svn.apache.org/r1576840
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/release13.07/   (props changed)
    ofbiz/branches/release13.07/applications/order/widget/ordermgr/RequirementForms.xml

Propchange: ofbiz/branches/release13.07/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1576839

Modified: ofbiz/branches/release13.07/applications/order/widget/ordermgr/RequirementForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/order/widget/ordermgr/RequirementForms.xml?rev=1576840&r1=1576839&r2=1576840&view=diff
==============================================================================
--- ofbiz/branches/release13.07/applications/order/widget/ordermgr/RequirementForms.xml (original)
+++ ofbiz/branches/release13.07/applications/order/widget/ordermgr/RequirementForms.xml Wed Mar 12 18:21:07 2014
@@ -64,8 +64,8 @@ under the License.
             </service>
         </actions>
         <row-actions>
-            <set field="lookupProductId" value="${bsh: (productId == null? &quot;_NA_&quot;: productId);}" type="String"/>
-            <set field="lookupFacilityId" value="${bsh: (facilityIdId == null? &quot;_NA_&quot;: 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"/>