Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-994

Order of skipTo() and getPage()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • OpenCMIS 0.14.0
    • OpenCMIS 1.0.0
    • opencmis-client
    • None

    Description

      ItemIterable s have skipTo() and getPage() methods to allow paging of CMIS collections.
      The code itemIterable.skipTo(5).getPage(10) skips the first 5 items and returns a collection of 10 items.
      The code itemIterable.getPage(10).skipTo(5) ignores the page size. It skips 5 items and returns the rest of the collection. I guess that was never indented and should be aligned.

      Attachments

        Activity

          People

            fmui Florian Müller
            fmui Florian Müller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: