#24279ContentObject is not passed to View in FLUIDTEMPLATE
Description
In the FLUIDTEMPLATE cObject, no instance of the tslib_cObj class is passed to the created view. This renders most of the Fluid ViewHelpers that you might want to use (e.g. the ImageViewHelper, or maybe some of the *LinkViewHelpers) useless, causing them to abort with fatal errors:
“Fatal error: Call to a member function getImgResource() on a non-object in /path/to/typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php on line 107”
The attached patch fixes the problem. However, I am not sure whether my solution is good style. This issue affects both the “cms” and “fluid” system extensions; I hope this is the right place for it.
(issue imported from #M16654)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.