Project

General

Profile

Actions

Bug #76310

closed

QueryResult::count cache and offsetSet/Unset don't work togeher

Added by Phat Hoang almost 8 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2016-05-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

After https://git.typo3.org/Packages/TYPO3.CMS.git/commit/603edc3 you get the following behavior:

$queryResult->count(); // 0
$queryResult->offsetSet(0, $obj);
$queryResult->offsetSet(1, $obj);
$queryResult->offsetSet(2, $obj);
$queryResult->count(); // 0, should be 3

Actions

Also available in: Atom PDF