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 290FA1153E for ; Thu, 14 Aug 2014 09:45:47 +0000 (UTC) Received: (qmail 5093 invoked by uid 500); 14 Aug 2014 09:45:47 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 5032 invoked by uid 500); 14 Aug 2014 09:45:46 -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 5015 invoked by uid 99); 14 Aug 2014 09:45:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Aug 2014 09:45:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of joshymaugustine@gmail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-wg0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Aug 2014 09:45:19 +0000 Received: by mail-wg0-f47.google.com with SMTP id b13so839165wgh.30 for ; Thu, 14 Aug 2014 02:45:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jNpLCsZqk5pwMq2HmA+QDw00liron2AhRV4+GWt8V7w=; b=d90D0WxKQ7PfPD+iXRLHeN3Ixj16O4og+I8Rg4OWyAhqfqZoDoxsWR6woZ9UnTnCMI /ExdFkmH/wtY4vL/D6xu94FCtacK6O3ICmhvAxYaSTiWF0YBrDSv5MmjSGtZ+1BT3PXj vM22PSbyU1LTCK6rwtBdbbZ3a7lhMgLdQMcPU8gu/ji7D9KfUq7yhoJqwPYp2P04Jlkf uAZ3XCkSS4cOJ7gjpQmSboG70PP5p1NMyDb3W/9Q2m0Vm+Q0YCz6FZ7GTpVha0owHTjJ IXI6wY+OwH53sXOgDWJRhvBQ7Hv6U7m0lJh4qnP5W0x7mQ7PwicCE8XuvQYKwoWRkV4L KXvA== MIME-Version: 1.0 X-Received: by 10.194.3.51 with SMTP id 19mr10446477wjz.93.1408009519209; Thu, 14 Aug 2014 02:45:19 -0700 (PDT) Received: by 10.194.5.70 with HTTP; Thu, 14 Aug 2014 02:45:19 -0700 (PDT) In-Reply-To: <53EBAA70.9030400@apache.org> References: <53EBAA70.9030400@apache.org> Date: Thu, 14 Aug 2014 10:45:19 +0100 Message-ID: Subject: Re: Apache Chemistry 0.11 + alfresco 4.2 pagination question From: Joshy Augustine To: =?UTF-8?Q?Florian_M=C3=BCller?= Cc: dev@chemistry.apache.org Content-Type: multipart/alternative; boundary=047d7b3a81fc3ba37b050093c360 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b3a81fc3ba37b050093c360 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks Florian. You are right. The same code works fine in SharePoint. Do you know what is the best way to report an Alfresco CMIS Issue? Thanks, Joshy On Wed, Aug 13, 2014 at 7:12 PM, Florian M=C3=BCller wrot= e: > Hi Joshy, > > That is likely a repository bug. The hasMoreItems flag should be true in > this case. > > > - Florian > > > > Hi, > > > > Apologies in advance if I am missing something obvious. I am encounteri= ng > > the following situation in my test code. > > > > > > ItemIterable queryResult =3D session.query(complete_statem= ent, > > *false*,context); > > > > > > > > > > queryResult.getTotalNumItems() // returns 3 > > > > queryResult.skipTo(0).getPage(2).getHasMoreItems() //returns *false* > > > > > > > > Is it correct that the 3 rd line is returning false? > > > > > --=20 Cheers, Josh --047d7b3a81fc3ba37b050093c360--