Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-3069

Incorrect paging of ResultSet when no limit is set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2 M4
    • Component/s: None

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: