Project

General

Profile

Actions

Bug #79559

closed

Paginate widget not working with ObjectStorage objects

Added by Nicole Cordes almost 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Fluid
Target version:
-
Start date:
2017-01-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

Actions #1

Updated by Gerrit Code Review almost 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51475

Actions #2

Updated by Gerrit Code Review almost 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51475

Actions #3

Updated by Nicole Cordes over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Gerrit Code Review over 7 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51849

Actions #5

Updated by Nicole Cordes over 7 years ago

  • Status changed from Under Review to Resolved
Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF