jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-758) QueryResult's RowIterator.getSize returned the wrong size of the results after I implemented my own AccessManager
Date Wed, 21 Feb 2007 09:26:05 GMT

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

Marcel Reutegger resolved JCR-758.
----------------------------------

    Resolution: Fixed

Forbidden nodes are not tracked correctly in the result set.

Fixed in trunk: 509944

Xiaohua and Paco, thank you for reporting this bug and the description how to reproduce the
issue.

Jukka, if possible, this fix should also go into the next patch release.

> QueryResult's RowIterator.getSize returned the wrong size of the results after I implemented
my own AccessManager
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-758
>                 URL: https://issues.apache.org/jira/browse/JCR-758
>             Project: Jackrabbit
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: Xiaohua Lu
>
> The background is I have implemented my own AccessManager. After executing a query and
get back the RowIterator from the result, if I call rowiterator.getSize, it will return the
size of all nodes matching my query (without honoring the access control) . But if I iterate
through the result, I find lots of duplicates in the results; and if I filter out those duplicate,
the final result is quite off the original number from RowIteartor.getSize()
> BTW, I also disabled Doc Order sorting.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message