Bug #10902

Paginate widget produces exception with too high offset

Added by Georg Ringer over 4 years ago. Updated over 4 years ago.

Status:Resolved Start date:2010-11-17
Priority:Must have Due date:
Assigned To:Bastian Waidelich % Done:

100%

Category:ViewHelpers
Target version:-
Has patch: Affected Flow version:

Description

If the offset is too high, an exception is thrown. This neeeds to be avoided as this can happen if there are old links (from search engines, shared links, ...).

example:
itemsPerPage:3 and 7 records and [__widget_0][currentPage]=4

solution would be to show either the results as if no offset is set or the last pages, including a redirect or at least the correct headers

History

#1 Updated by Bastian Waidelich over 4 years ago

  • Project changed from Extbase MVC Framework to TYPO3.Fluid
  • Status changed from New to Accepted
  • Assigned To set to Bastian Waidelich

#2 Updated by Bastian Waidelich over 4 years ago

  • Category set to ViewHelpers

#3 Updated by Bastian Waidelich over 4 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100
  • Branch set to v4 + v5

Applied in Changeset r2951

Also available in: Atom PDF