[ https://issues.apache.org/jira/browse/OAK-6618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16154847#comment-16154847 ]
Chetan Mehrotra commented on OAK-6618: -------------------------------------- Can you try with 1.6.3 build as it looks like duplicate of OAK-6391 > Query with offset 29 with any limit more than 21 gives node size -1 , when > number of nodes in repository is 50 > -------------------------------------------------------------------------------------------------------------- > > Key: OAK-6618 > URL: https://issues.apache.org/jira/browse/OAK-6618 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core > Affects Versions: 1.6.1 > Reporter: Mouli > Priority: Critical > > There is something wrong with offset and limit feature in JCR, i have 50 > nodes in repository and i started to test pagination so i used offset and > limit . It works fine for all offset and limit combination except one case > that is offset 29 and limit =21, only this case node size returning as -1 in > all other cases it working as expected. i tried with other combinations of > node size viz 52 limit=22&offset=31 > not working for this combination too but it works if i increase the offset to > 32. > listing out combinations it doesn't work > size=50, offset=29 and limit=21(any number > 21 ) will give u node size -1. > size=52, offset=31 and limit=22(any number > 22 ) will give u node size -1 -- This message was sent by Atlassian JIRA (v6.4.14#64029)