Bug #67270
closedInvalid compatibility layer in DatabaseRecordList
100%
Description
Hey guys,
the compatibility layer in the DatabaseRecordList is broken, because the restructure of the $cells is done in each iteration, but the reset of the $cells is only done once (after the iteration).
The attached patch move the reorganisation of the $cells in front of the iteration.
Notice: At the moment the backend display many PHP warnings (PHP Warning / PHP Warning: Invalid argument supplied for foreach() in /opt/typo3_src/typo3_current/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php line 1418), if there is MORE THAN ONE class uses this hook.
Regards,
Tim
Files
Updated by Markus Klein almost 9 years ago
Tim, please push patches to Gerrit. Thanks.
Updated by Gerrit Code Review almost 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39913
Updated by Gerrit Code Review almost 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39913
Updated by Tim Lochmüller almost 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d91aac73188803e94e9bed246373caa9494565b4.