[TYPO3-core] RFC #16342 : Bug: TCA tree throws Fatal error on displaying deleted records

Steffen Ritter info at rs-websystems.de
Mon Nov 22 15:10:33 CET 2010


Hey list,
This is an SVN patch request.

Type: Bug

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

Branches:
trunk

Problem:
if you ask the TCA tree to render, deleted records rendering will fail 
with a fatal PHP error, becaue getRecordWSOL returns NULL, but the tasks 
afterwards expect an array.


Solution:
Change the call to getRecordWSOL not to use the deleteClause, since some 
"layer" below already would have to check if the node is about to be 
shown. The call only is to display the correct overlaid information.


Notes:
reported by Krystian Szymukowicz

regards
Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rfc16342.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101122/0b763c84/attachment.asc>


More information about the TYPO3-team-core mailing list