[BUGFIX] Correctly initialize content object for plugins 11/48011/2
authorHelmut Hummel <info@helhum.io>
Wed, 4 May 2016 18:49:56 +0000 (20:49 +0200)
committerNicole Cordes <typo3@cordes.co>
Wed, 4 May 2016 20:19:59 +0000 (22:19 +0200)
commit74702f62ac281f482af05a1fe28b4dbe71237e6d
treec4acbd03230fa0bc65a3070af23ea0ab9c0825f9
parent5e835b0818a0d19a5821852e0559cd849e8601ef
[BUGFIX] Correctly initialize content object for plugins

For rendering plugins FSC uses the cObjecViewHelper,
but misses to set the table name.

This leads to an incompletely initialized content object
being used when rendering the plugin.

cObj->currentRecord will stay empty, but some functionality
relies on this value to be correctly set.

Resolves: #76052
Releases: master, 7.6
Change-Id: I66b725adb3a0311609cfc60c29951eba5aa2217c
Reviewed-on: https://review.typo3.org/48011
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/fluid_styled_content/Resources/Private/Templates/List.html