chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <f...@apache.org>
Subject Re: Apache Chemistry 0.11 + alfresco 4.2 pagination question
Date Wed, 13 Aug 2014 18:12:00 GMT
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 encountering
> the following situation in my test code.
> 
> 
> ItemIterable<QueryResult> queryResult = session.query(complete_statement,
> *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?
> 
> 

Mime
View raw message