You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2019/11/22 14:39:00 UTC
[jira] [Resolved] (OAK-6618) Query with offset 29 with any limit
more than 21 gives node size -1 , when number of nodes in repository is 50
[ https://issues.apache.org/jira/browse/OAK-6618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke resolved OAK-6618.
---------------------------------
Resolution: Cannot Reproduce
> 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
(v8.3.4#803005)