Return-Path: Delivered-To: apmail-ofbiz-commits-archive@www.apache.org Received: (qmail 37296 invoked from network); 10 Feb 2009 06:09:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2009 06:09:58 -0000 Received: (qmail 48104 invoked by uid 500); 10 Feb 2009 06:09:50 -0000 Delivered-To: apmail-ofbiz-commits-archive@ofbiz.apache.org Received: (qmail 48088 invoked by uid 500); 10 Feb 2009 06:09:49 -0000 Mailing-List: contact commits-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list commits@ofbiz.apache.org Received: (qmail 48074 invoked by uid 99); 10 Feb 2009 06:09:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 22:09:49 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 06:09:49 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EF5AB23889F3; Tue, 10 Feb 2009 06:09:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r742862 - /ofbiz/trunk/framework/common/src/org/ofbiz/common/FindServices.java Date: Tue, 10 Feb 2009 06:09:27 -0000 To: commits@ofbiz.apache.org From: hansbak@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090210060928.EF5AB23889F3@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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;