[BUGFIX] ContentObjectRenderer instantiates old class names
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 29 Nov 2012 18:08:34 +0000 (19:08 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 29 Nov 2012 19:24:22 +0000 (20:24 +0100)
commit5868e1f59f782ae770a4e445982f2dabccbc3940
tree57527c4ee56d19edd18922bd32782244538cb40e
parentf6b1e096d8d50e15e463ee1bddf1e592985a42a2
[BUGFIX] ContentObjectRenderer instantiates old class names

The content object renderer still instantiates content objects with
tslib_content_ prefix. The patch changes this to the namespaced
class. Additionally, all content objects are now tested for successful
instantiation with additional unit tests. While creating those tests
it became obvious that the ShockwaveFlashObject content object was
named incorrectly, so this is adapted along the way.

Change-Id: Ie12474df270b29e8e2d8d8894fa94d24747d94d8
Fixes: #43456
Releases: 6.1, 6.0
Reviewed-on: http://review.typo3.org/16863
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/cms/tslib/content/class.tslib_content_searchresult.php
typo3/sysext/cms/tslib/content/class.tslib_content_shockwaveflashobject.php
typo3/sysext/core/Migrations/Code/LegacyClassesForIde.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/ContentObject/ShockwaveFlashContentObject.php [deleted file]
typo3/sysext/frontend/Classes/ContentObject/ShockwaveFlashObjectContentObject.php [new file with mode: 0644]
typo3/sysext/frontend/Migrations/Code/ClassAliasMap.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php