[TYPO3-core] RFC 17532: Add support for file pointers in t3lib_befunc->getFlexFormDS
Peter Beernink
p.beernink at drecomm.nl
Thu Feb 10 09:49:42 CET 2011
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