Bug #10902

Paginate widget produces exception with too high offset

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

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

100%

Category:ViewHelpers
Target version:-
Has patch: FLOW3 version affected:
Votes: 0

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

Updated by Bastian Waidelich over 2 years ago

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

Updated by Bastian Waidelich over 2 years ago

  • Category set to ViewHelpers

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