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:20:27 UTC

svn commit: r1576839 - /ofbiz/trunk/applications/order/widget/ordermgr/RequirementForms.xml

Author: jleroux
Date: Wed Mar 12 18:20:26 2014
New Revision: 1576839

URL: http://svn.apache.org/r1576839
Log:
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/trunk/applications/order/widget/ordermgr/RequirementForms.xml

Modified: ofbiz/trunk/applications/order/widget/ordermgr/RequirementForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/RequirementForms.xml?rev=1576839&r1=1576838&r2=1576839&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/RequirementForms.xml (original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/RequirementForms.xml Wed Mar 12 18:20:26 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"/>