Project

General

Profile

Actions

Bug #85979

closed

PaginateViewHelper allows incompatible types for objects argument

Added by Daniel Goerz almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2018-08-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
no-brainer
Is Regression:
Yes
Sprint Focus:

Description

Was accidentally introduced by https://review.typo3.org/#/c/52784/

My question from the review:

Why did we allow $objects to be of type ObjectStorage or Array with this patch? The PaginateController calls ->getQuery() on $objects which neither of those two has.

Note the patch that introduced this bug was not backported to 8 yet.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #81200: Several ViewHelpers do not natively support compilingClosed2017-05-11

Actions
Actions

Also available in: Atom PDF