Bug #4063
CObjectViewHelper erases field data in TypoScript
Status: | Resolved | Start date: | 2009-07-29 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Bastian Waidelich | % Done: | 100% |
|
Category: | - | |||
Target version: | - | |||
Has patch: | Affected Flow version: |
Description
If no cObj is handed, CObjectViewHelper uses cObj from the GLOBALS-array. But this way it erases all data in this cObj that might be used later on in TypoScript.
Example
page { 10 < plugin.tx_myext headerData = TEXT headerData { # will be empty field = title wrap = <title>|</title> } }
The appended bugfix creates a new cObj if none is supported, but I'm not sure, if this is the best solution.
Maybe the parser could support one, or maybe it already does...?
History
#1 Updated by Christian Zenker about 6 years ago
Tx_Fluid_ViewHelpers_Format_CropViewHelper uses $GLOBALS['TSFE']->cObj, too.
#2 Updated by Jochen Rau almost 6 years ago
- Assigned To set to Sebastian Kurfuerst
#3 Updated by Sebastian Kurfuerst almost 6 years ago
- Assigned To changed from Sebastian Kurfuerst to Bastian Waidelich
Bastian, can you take care of this issue?
#4 Updated by Bastian Waidelich almost 6 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r1084.
#5 Updated by Bastian Waidelich almost 6 years ago
- Project changed from Extbase MVC Framework to TYPO3.Fluid
- Category deleted (
432)