You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2007/04/28 16:51:58 UTC

svn commit: r533352 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderLookupServices.java

Author: jacopoc
Date: Sat Apr 28 07:51:57 2007
New Revision: 533352

URL: http://svn.apache.org/viewvc?view=rev&rev=533352
Log:
Small fix to avoid the output validation error when no search parameters are passed to the service; this partially address the issue reported by Ray Barlow in OFBIZ-933.
However some of the search parameters are not working: for example the service accepts the 'orderTypeId' as a list but the form post it as a string and this is not working now... there are possibly other fields that are not working properly.

Modified:
    ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderLookupServices.java

Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderLookupServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderLookupServices.java?view=diff&rev=533352&r1=533351&r2=533352
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderLookupServices.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderLookupServices.java Sat Apr 28 07:51:57 2007
@@ -534,7 +534,7 @@
         result.put("viewSize", viewSize);
         result.put("showAll", showAll);
 
-        result.put("paramList", paramString);
+        result.put("paramList", (paramString != null? paramString: ""));
         result.put("orderList", orderList);
         result.put("orderListSize", new Integer(orderCount));