[TYPO3-core] RFC #16517: Bug: t3lib_beFunc::getRecordWSOL() does not use it's param $useDeleteClause in else branch

Steffen Ritter info at rs-websystems.de
Mon Nov 22 18:24:32 CET 2010


Hey list,
This is an SVN patch request.

Type: Bug

Bugtracker references:
http://bugs.typo3.org/view.php?id=16517

Branches:
trunk, 4-4, 4-3

Problem:

Solution:
t3lib_beFunc::getRecordWSOL() has the last param $userDeleteClause which 
defaults to true....
this one is passed to t3lib_beFunc::getRecord...

This param is missing in the else branch - when '*' fields are required...
This is wrong, and returns NULL even if you requested to include deleted 
records...

Notes:
I would see this as a nobrainer, but as it's about several branches and 
t3lib_beFunc acts relative widely I think this should be considered as 
normal rfc.

Notes2:
This one is required for the tcaTree.

regards
Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rfc16517.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101122/5f6bfd25/attachment.txt>


More information about the TYPO3-team-core mailing list