[BUGFIX] Correctly initialize content object for plugins 12/48012/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:20:38 +0000 (22:20 +0200)
commitda045e18f538443c4f9325498bd1109729cafdf5
tree9c68c0ffdf56ff994e4cb11a307e73e02db1039b
parentd86c0dfbcfd80a2f645ddd23c9ab47bb324b753d
[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/48012
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/fluid_styled_content/Resources/Private/Templates/List.html