Project

General

Profile

Actions

Bug #37221

closed

Follow up #35260: Missing selection field in t3lib_TCEmain::getPreviousLocalizedRecordUid()

Added by Felix Nagel almost 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Category:
DataHandler aka TCEmain
Target version:
Start date:
2012-05-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

Please revert the patch of #35260 as its obviously wrong. Patch of #35260 was included in all branches of TYPO3 afaics, so my patch should be applied to all branches of TYPO3.

Take a look at the function getPreviousLocalizedRecordUid as in TYPO3 4.5.15. First, the whole idea of reusing $sortRow as select statement is just bad practice. Second, using a combination like "sorting,colSort" as an index for $row wont work. Third, the current implementation creates SQL like ' AND sorting,colPos<0 AND ' which wont work.

The idea of adding colSort to select was correct (the function was broken before, too!) but the proposed fix introduces new problems and fixes none.

I have no idea how this could be reviewed by three people as its pretty obvious :-/


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #35260: Missing selection field in t3lib_TCEmain::getPreviousLocalizedRecordUid()ClosedFrancois Suter2012-03-27

Actions
Actions

Also available in: Atom PDF