You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2009/02/10 07:09:27 UTC

svn commit: r742862 - /ofbiz/trunk/framework/common/src/org/ofbiz/common/FindServices.java

Author: hansbak
Date: Tue Feb 10 06:09:26 2009
New Revision: 742862

URL: http://svn.apache.org/viewvc?rev=742862&view=rev
Log:
as reported in the mailinglist, lookups now working

Modified:
    ofbiz/trunk/framework/common/src/org/ofbiz/common/FindServices.java

Modified: ofbiz/trunk/framework/common/src/org/ofbiz/common/FindServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/FindServices.java?rev=742862&r1=742861&r2=742862&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/src/org/ofbiz/common/FindServices.java (original)
+++ ofbiz/trunk/framework/common/src/org/ofbiz/common/FindServices.java Tue Feb 10 06:09:26 2009
@@ -544,7 +544,10 @@
         boolean noConditionFind = "Y".equals((String) context.get("noConditionFind"));
         boolean distinct = "Y".equals((String) context.get("distinct"));
         List fieldList =  (List) context.get("fieldList");
-        Set fieldSet = new HashSet(fieldList);        
+        Set fieldSet = null;        
+        if (fieldList != null) {
+        	fieldSet = new HashSet(fieldList);
+        }
         GenericDelegator delegator = dctx.getDelegator();
         // Retrieve entities  - an iterator over all the values
         EntityListIterator listIt = null;