Bug #10902

Paginate widget produces exception with too high offset

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

Status:
Resolved
Priority:
Must have
Category:
ViewHelpers
Target version:
-
Start date:
2010-11-17
Due date:
% Done:

100%

Estimated time:
Has patch:

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

#1

Updated by Bastian Waidelich over 10 years ago

  • Project changed from 534 to TYPO3.Fluid
  • Status changed from New to Accepted
  • Assignee set to Bastian Waidelich
#2

Updated by Bastian Waidelich over 10 years ago

  • Category set to ViewHelpers
#3

Updated by Bastian Waidelich over 10 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