[ http://jira.nuxeo.org/browse/NXP-3467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florent Guillaume updated NXP-3467: ----------------------------------- Attachment: 5.2.RC1-NXP-3467.diff.txt nuxeo-core-1.5.0-RC1-NXP-3467.jar nuxeo-core-api-1.5.0-RC1-NXP-3467.jar Attached backported JARs for Nuxeo 5.2.RC1. > Incorrect query totalSize computation with custom SecurityPolicy > ---------------------------------------------------------------- > > Key: NXP-3467 > URL: http://jira.nuxeo.org/browse/NXP-3467 > Project: Nuxeo Enterprise Platform > Issue Type: Bug > Components: Core, Query / Search > Affects Versions: 5.2 RC > Reporter: Florent Guillaume > Assignee: Florent Guillaume > Priority: Major > Fix For: 5.2 GA > > Attachments: 5.2.RC1-NXP-3467.diff.txt, > nuxeo-core-1.5.0-RC1-NXP-3467.jar, nuxeo-core-api-1.5.0-RC1-NXP-3467.jar > > > When the core does a query (AbstractSession.query), the totalSize of the > DocumentModelList returned is computed too soon if some post-filtering is > required, as the post-filtering can remove some documents. > See also NXP-3396 which is related. > The symptoms are: > Exception: java.lang.IndexOutOfBoundsException. message: Index: 0, Size: 0 > at java.util.ArrayList.RangeCheck(ArrayList.java:546) > at java.util.ArrayList.get(ArrayList.java:321) > at > org.nuxeo.ecm.core.search.api.client.search.results.document.SearchPageProvider.constructDocumentModels(SearchPageProvider.java:362) > at > org.nuxeo.ecm.core.search.api.client.search.results.document.SearchPageProvider.getCurrentPage(SearchPageProvider.java:165) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.nuxeo.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ ECM-tickets mailing list ECM-tickets@lists.nuxeo.com http://lists.nuxeo.com/mailman/listinfo/ecm-tickets