Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A2C8919DC for ; Wed, 20 Apr 2011 09:51:59 +0000 (UTC) Received: (qmail 39881 invoked by uid 500); 20 Apr 2011 09:51:59 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 39812 invoked by uid 500); 20 Apr 2011 09:51:59 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 39792 invoked by uid 99); 20 Apr 2011 09:51:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 09:51:58 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of florian.mueller@alfresco.com designates 207.126.144.115 as permitted sender) Received: from [207.126.144.115] (HELO eu1sys200aog103.obsmtp.com) (207.126.144.115) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 20 Apr 2011 09:51:50 +0000 Received: from zimbra.alfresco.com ([88.151.129.3]) by eu1sys200aob103.postini.com ([207.126.147.11]) with SMTP ID DSNKTa6sndkzYQS6yLOhXnYA7KntsFFuMFGC@postini.com; Wed, 20 Apr 2011 09:51:29 UTC Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.alfresco.com (Postfix) with ESMTP id 9B685414120; Wed, 20 Apr 2011 10:51:24 +0100 (BST) X-Virus-Scanned: amavisd-new at unx-d-manc4.tc.ifeltd.com Received: from zimbra.alfresco.com ([127.0.0.1]) by localhost (zimbra.alfresco.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZdXES-JASP8f; Wed, 20 Apr 2011 10:51:23 +0100 (BST) Received: from Florian-Mullers-MacBook-Pro-2.local (unknown [46.208.196.87]) (Authenticated sender: florian.mueller) by zimbra.alfresco.com (Postfix) with ESMTP id BE14B414068; Wed, 20 Apr 2011 10:51:23 +0100 (BST) Message-ID: <4DAEAC9B.7070806@alfresco.com> Date: Wed, 20 Apr 2011 10:51:23 +0100 From: =?UTF-8?B?RmxvcmlhbiBNw7xsbGVy?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: dev@chemistry.apache.org, g.vanheusden@aca-it.be Subject: Re: Different result with same query but other OpenCMIS version References: <1832895642.85647.1303292442437.JavaMail.root@itshas-sv06> In-Reply-To: <1832895642.85647.1303292442437.JavaMail.root@itshas-sv06> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Geert, The query code has not been altered between 0.2.0 and 0.3.0. The CMIS Workbench is built around OpenCMIS. If it returns the correct results, so the OpenCMIS client library should return the correct results. Is there anything else you have changed? Cheers, Florian On 20/04/2011 10:40, Geert Vanheusden wrote: > Dear, > > I just upgraded to OpenCMIS 0.3.0 (coming from 0.2.0-incubating) and I noticed that the same query I used before returns an incorrect result. > > I have a custom document type (park:document) and a park:employeeDocument aspect. > > When I execute the following query using OpenCMIS 0.2.0-incubating I have one document as a result (correct). If I execute the same query using OpenCMIS 0.3.0 then there are no documents returned. > > cmisSession.query(" > SELECT DOCUMENT.*, EMPLOYEEDOCUMENT.* > FROM park:document AS DOCUMENT > JOIN park:employeeDocument AS EMPLOYEEDOCUMENT > ON DOCUMENT.cmis:objectId = EMPLOYEEDOCUMENT.cmis:objectId > WHERE (EMPLOYEEDOCUMENT.employeeDoc:currentEmployeeName LIKE '%VANHEUSDEN%') > ", false) > > I am using the alfresco-opencmis-extension 0.2 and querying against an Alfreso enterprise 3.4. > If I execute the same query in the latest version of the OpenCMIS workbench I have also one document as a result (correct). > > Any ideas? Maybe a bug in OpenCMIS 0.3.0? > > Kind regards, > > Geert Vanheusden > > > _________________________________________________ > > We published a new company movie featuring YOU! > See http://www.aca-it.be/movie > _________________________________________________