Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-4502

Publication dialog: if the document has more than 7 unpublished referring documents a paging component is rendered, but it is broken

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • r2.16.00
    • r2.16.01, r2.17.00
    • None
    • None

    Description

      Steps to reproduce:

      • start editing a document and add 8 internal links to an unpublished document
      • publish the document, a dialog opens
      • in the dialog, a paging component is displayed
      • click on the next page; nothing happens

      Expected result:

      • next page should be shown

      Actual:

      • nothing happens in the browser, the server logs an error:

      Caused by: java.lang.IllegalArgumentException: fromIndex(7) > toIndex(6)
      at java.util.SubList.<init>(AbstractList.java:604)
      at java.util.RandomAccessSubList.<init>(AbstractList.java:758)
      at java.util.AbstractList.subList(AbstractList.java:468)
      at org.hippoecm.frontend.plugins.reviewedactions.model.UnpublishedReferenceProvider.iterator(UnpublishedReferenceProvider.java:57)
      at org.hippoecm.frontend.plugins.reviewedactions.UnpublishedReferenceNodeProvider.iterator(UnpublishedReferenceNodeProvider.java:49)

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              abogaart Arthur Bogaart
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: