Bug #16442
closedopenoffice-files cannot be indexed by class.external_parser.php
0%
Description
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.
$out must be unset() before the second exec()-call, otherwise $meta_xml will contain the content of both content.xml and meta.xml
SVN Revision 1421 of file /TYPO3core/trunk/typo3/sysext/indexed_search/class.external_parser.php
(issue imported from #M3994)
Files
Updated by Robert Fink over 18 years ago
Michael, I think you have to unset($out) before the second exec()-call. exec() won't do this for you and you end up with the content of both content.xml and meta.xml in $meta_xml
Updated by Michael Stucki over 18 years ago
Oh thanks, that's a very important input! According to php.net you are quite right, and it seems this has been forgotten on several places.