[TYPO3-core] RFC: Bug #17372: stdWrap .current and .setContentToCurrent do not return content

Jeff Segars jsegars at alumni.rice.edu
Fri Jan 28 18:12:57 CET 2011


On 1/27/11 4:36 PM, Jeff Segars wrote:
> Hey guys,
>
> This is a SVN patch request.
>
> Type: Bugfix
> Bugtracker reference: http://bugs.typo3.org/view.php?id=17372
> Branch: trunk
>
> Problem:
> With the tslib_content refactoring in 4.5, we now have standalone
> methods for many pieces of stdWrap, which are chained together at the
> end of the main stdWrap method. Each standalone helper method takes the
> $content and $conf, processes it, and returns the $content.
>
> stdWrap_setContentToCurrent() and stdWrap_setCurrent() do not return
> $content, however. This means that any stdWrap properties coming after
> these two no longer have content to operate on.
>
> Solution:
> return $content;
>
> Thanks,
> Jeff
>

Thanks for the quick reviews! Committed to trunk (r10350) and 4.5 (r10351).


More information about the TYPO3-team-core mailing list