[
http://jira.nuxeo.org/browse/NXP-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florent Guillaume updated NXP-3069:
-----------------------------------
Summary: Incorrect paging of ResultSet when no limit is set (was: getting
a result impl throw a / by 0 exception)
Proper fix:
http://hg.nuxeo.org/nuxeo/nuxeo-platform/rev/76a0cf122f30
> Incorrect paging of ResultSet when no limit is set
> --------------------------------------------------
>
> Key: NXP-3069
> URL: http://jira.nuxeo.org/browse/NXP-3069
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Reporter: Alexandre Russel
> Assignee: Florent Guillaume
>
> Caused by: java.lang.ArithmeticException: / by zero
> at
> org.nuxeo.ecm.core.search.api.client.search.results.impl.ResultSetImpl.getPageNumber(ResultSetImpl.java:198)
> at
> org.nuxeo.ecm.core.search.api.client.search.results.impl.ResultSetImpl.goToPage(ResultSetImpl.java:123)
> at
> org.nuxeo.ecm.core.search.api.client.search.results.document.SearchPageProvider.goToPage(SearchPageProvider.java:214)
> at
> org.nuxeo.ecm.core.search.api.client.search.results.document.SearchPageProvider.rewind(SearchPageProvider.java:262)
> at
> org.nuxeo.ecm.platform.publishing.SelectionModelGetter.accumulateAvailableSections(SelectionModelGetter.java:143)
> at
> org.nuxeo.ecm.platform.publishing.SelectionModelGetter.<init>(SelectionModelGetter.java:88)
> at
> org.nuxeo.ecm.platform.publishing.PublishActionsBean.getSectionsSelectModel(PublishActionsBean.java:220)
> at
> org.nuxeo.ecm.platform.publishing.PublishActionsBean.getSectionsModel(PublishActionsBean.java:467)
--
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
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets