#79559Paginate widget not working with ObjectStorage objects
Description
Given:
1) Fluid template
<f:widget.paginate objects="{objectStorage}" as="paginatedObjects" configuration="{itemsPerPage: 9, insertAbove: 0, insertBelow: 1, maximumNumberOfLinks: 10}">
<f:for each="{paginatedObjects}" as="object" iteration="iterator">
{iterator.cycle}
</f:for>
</f:widget.paginate>
2) objectStorage contains 25 items
Expectation:
2 Sites with 9 items each, last page with 7 items
Actual:
3 sites with 9 items each – the last 2 items on page 3 are empty