Issue Bug Closed

#85979PaginateViewHelper allows incompatible types for objects argument

Daniel Goerz 08/25/18, 14:54 updated 10/02/18, 10:30

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.

Reviews 1