Author: hansbak
Date: Tue Feb 10 06:09:26 2009
New Revision: 742862
URL:
http://svn.apache.org/viewvc?rev=742862&view=revLog:
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;