[TYPO3-core] RFC #16507: stdWrap unavailable after refactoring of tslib_content
Ingo Renner
ingo at typo3.org
Mon Nov 22 14:08:09 CET 2010
Hi *,
This is an SVN patch request.
Type:
bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=16507
Branches:
trunk
Problem:
Some older extensions like EXT:metatags try to call stdWrap() directly
on the content object's $this. In the case of EXT:metatags $this is an
instance of tslib_content_PhpScript. The stdWrap() method is implemented
neither in tslib_content_PhpScript, nor in tslib_content_Abstract, which
of course leads to a fatal error.
Solution:
Add a stdWrap() compatibility wrapper in tslib_content_Abstract.
Steps To Reproduce:
Install and configure EXT:metatags, this leads to a fatal error.
best
Ingo
--
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2, Admin Google Summer of Code
TYPO3 - Open Source Enterprise Content Management System
http://typo3.org
Apache Solr for TYPO3 -
Open Source Enterprise Search meets Open Source Enterprise CMS
http://www.typo3-solr.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16507.diff
Type: text/x-diff
Size: 718 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101122/c973e036/attachment.diff>
More information about the TYPO3-team-core
mailing list