You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Alexander Klimetschek (JIRA)" <ji...@apache.org> on 2010/07/22 14:29:49 UTC
[jira] Assigned: (JCR-2684) Setting Query.setOffset() passed the
results total returns negative getSize() instead of zero
[ https://issues.apache.org/jira/browse/JCR-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Klimetschek reassigned JCR-2684:
------------------------------------------
Assignee: Alexander Klimetschek
> Setting Query.setOffset() passed the results total returns negative getSize() instead of zero
> ---------------------------------------------------------------------------------------------
>
> Key: JCR-2684
> URL: https://issues.apache.org/jira/browse/JCR-2684
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core, query
> Affects Versions: 2.1.0
> Reporter: Alexander Klimetschek
> Assignee: Alexander Klimetschek
> Priority: Minor
> Attachments: JCR-2684-fix.patch, JCR-2684-testcase.patch
>
>
> 1. Have a query that returns 3 results
> 2. Now set Query.setOffset(10) (passed the total of 3)
> 3. Row/NodeIterator.getSize() returns -7 (incorrect)
> Expected: getSize() should return 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.