You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2007/02/21 10:35:06 UTC
[jira] Updated: (JCR-758) QueryResult's RowIterator.getSize
returned the wrong size of the results after I implemented my own
AccessManager
[ https://issues.apache.org/jira/browse/JCR-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated JCR-758:
------------------------------
Component/s: query
Fix Version/s: 1.2.3
Affects Version/s: 1.2.2
Tagged for the 1.2.3 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
> Components: query
> Affects Versions: 1.2.1, 1.2.2
> Reporter: Xiaohua Lu
> Fix For: 1.2.3
>
>
> 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.