[TYPO3-core] RFC: Bug 3994: OpenOffice.org files cannot be indexed by class.external_parser.php

Michael Stucki michael at typo3.org
Fri Aug 25 17:52:34 CEST 2006


This is a SVN patch request.

Problem:
There are some bugs in the [case 'sxw':] - section of the readFileContent() - 
function:

$cmd = $this->app['unzip'].' -p '.$absFile.' content.xml';

This doesn't work with whitespaces in the filename. Same with unzipping 
meta.xml.
 
Solution:
$out must be unset() before the second exec()-call, otherwise $meta_xml will 
contain the content of both content.xml and meta.xml

Branches:
TYPO3_4-0 / Trunk

Comments:
Thanks to Robert Fink

Bugtracker reference:
http://bugs.typo3.org/view.php?id=3994

- michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_3994_v2.diff
Type: text/x-diff
Size: 3723 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060825/227edde9/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060825/227edde9/attachment.pgp 


More information about the TYPO3-team-core mailing list