Project

General

Profile

Actions

Bug #67270

closed

Invalid compatibility layer in DatabaseRecordList

Added by Tim Lochmüller almost 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2015-06-03
Due date:
% Done:

100%

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

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

local_history.patch (1.91 KB) local_history.patch Tim Lochmüller, 2015-06-03 10:15

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #63207: Add primary and secondary actions to Web->ListClosed2014-11-23

Actions
Actions #1

Updated by Markus Klein almost 9 years ago

Tim, please push patches to Gerrit. Thanks.

Actions #2

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

Actions #3

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

Actions #4

Updated by Tim Lochmüller almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF