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

Picture books with more than 20 pictures are unbrowsable

    XMLWordPrintable

    Details

      Description

      Any picture book with more than 20 pictures cannot be viewed anymore, due to an error in the pagination template:

      /pagination/pageNavigationControls.xhtml @32,79 value="#{not provider.lastPageAvailable":
      Property 'lastPageAvailable' not found on type
      org.nuxeo.ecm.core.search.api.client.search.results.document.SearchPageProvider

      This has been reproduced on demo.nuxeo.com: http://demo.nuxeo.com/nuxeo/nxdoc/default/d4a2c574-3c78-471b-ac58-3e3696b1115e/view_documents

      Fortunately, it's easy to fix: on /pagination/pageNavigationControls.xhtml, change

      <f:attribute name="disabled" value="#{not provider.lastPageAvailable}"/>

      to

      <f:attribute name="disabled" value="#{not provider.nextPageAvailable}"/>

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: