Bug #93351
closedPaginator does not prevent invalid current page values and displays empty view
100%
Description
There are multiple possibilities how an invalid current page number
can be passed to the paginator.
For example if the view provides a "jump to page" feature where no limit is set or the limit changed in the background (e.g. some other user removed records in the meantime).
Such case should not lead to empty results but should silently be resolved by the paginator.
Updated by Oliver Bartsch almost 4 years ago
Speaking only about a current page
value exceeding the maximum number of pages. If lower, this can not be unintentionally and an exception is already thrown in this case.
Updated by Gerrit Code Review almost 4 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/c/Packages/TYPO3.CMS/+/67509
Updated by Gerrit Code Review almost 4 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/c/Packages/TYPO3.CMS/+/67509
Updated by Gerrit Code Review almost 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67509
Updated by Gerrit Code Review almost 4 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67509
Updated by Gerrit Code Review almost 4 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67509
Updated by Oliver Bartsch almost 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 20280171f3bcf8593fcb31df33e01642662b4b44.
Updated by Gerrit Code Review almost 4 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67712
Updated by Oliver Bartsch almost 4 years ago
- Status changed from Under Review to Resolved
Applied in changeset cc738fd91cca347b49040f4fd9629673e13c5176.