[ 
https://issues.apache.org/jira/browse/JCR-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Klimetschek updated JCR-2684:
---------------------------------------

    Status: Patch Available  (was: Open)

> 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.

Reply via email to