[TYPO3-core] RFC 17532: Add support for file pointers in t3lib_befunc->getFlexFormDS

Rens Admiraal renst3 at rensnel.nl
Fri Feb 18 10:47:32 CET 2011


Reminder 1

On 02/10/2011 10:19 AM, Rens Admiraal wrote:
> Test extension added to the issue (http://bugs.typo3.org/view.php?id=17532)
>
> After installing this extension and including the static data, a new
> CType 'Test block' is added. With patch v2 this element has a flexform
> when a datastructure is selected.
>
>
>
> On 02/10/2011 09:49 AM, Peter Beernink wrote:
>> Hi,
>>
>> On 10-2-2011 8:12, Rens Admiraal wrote:
>>>> Problem:
>>>> Currently t3lib_befunc->getFlexFormDS only supports passing a
>>>> filepointer as reference to the datastructure, or passing a
>>>> reference to
>>>> another table (like tx_templavoila_datastructure:dataprot). In the case
>>>> of a reference to another table the DS XML has to be stored in the
>>>> table. Currently it's not possible to store a reference to a file in
>>>> this second table. Which is a problem if you want to store XML in the
>>>> filesystem.
>>>>
>>>> Solution:
>>>> Check if the datastructure value in the reference table starts with
>>>> FILE:, and handle it as being a filepointer if this condition is
>>>> matched. Otherwise just handle it as XML (default behaviour).
>>>>
>>
>> After discussing with Rens on how to test this, he provided a test case
>> for this. He will add a test extension to allow others to test this.
>>
>> When using the test case, the issue was reproducible and fixed with the
>> patch, so +1 by testing. Also +1 by reading.
>>
>> Greets,
>> Peter
>>
>>
>



More information about the TYPO3-team-core mailing list