[TYPO3-core] RFC: Bug #7203: Hook cObjTypeAndClassDefault in tslib_content somtimes fails

Stefan Geith typo3dev2008.nospam1 at geithware.de
Tue Feb 12 14:32:20 CET 2008


Could we add this to the roadmap for 4.2 please ?

The cast to an array in
   $hookObject->getSingleContentObject($name, (array) $conf, $TSkey, $this)
is essential, if $conf is not set ...

-

Stefan


Stefan Geith schrieb:
> This is a SVN patch request.
> 
> Problem:
> Hook cObjTypeAndClassDefault in tslib_content is sometimes called, even 
> if $conf-Array is empty or $name is empty.
> This causes an error if you use this hook, because the interface needs 
> $conf to be an array.
> This hook was introduced by patch from 
> http://bugs.typo3.org/view.php?id=5536
> 
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0007203c_tslib_content_hook.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080212/9e1dba47/attachment.txt 


More information about the TYPO3-team-core mailing list