[TYPO3-core] RFC: Bug #11661: Exporting t3x file delivers wrong data
Oliver Hader
oliver at typo3.org
Thu Aug 13 17:47:38 CEST 2009
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=11661
Branches: TYPO3_4-2, Trunk
Problem:
On exporting/downloading a t3x file in the extension manager, the file
contains wrong data. The problem is not the export itself but warnings
or even empty newlines (spaces after the closing PHP tag for example)
that have been sent before. All this kind of data will be at the
beginning of exported files.
Solution:
Call ob_clean() before starting to output the file contents. This way
all stuff that was set before will be cleared. If real errors occur
you'll see that in the log files - having it in a t3x file does not make
much sense.
Notes:
Thanks to Michael Riedel for providing a solution.
olly
--
Oliver Hader
TYPO3 Release Manager 4.3
More information about the TYPO3-team-core
mailing list