KocsisDaniel/liferay-portal — pull request #117 by danielreuther (2012-09-06 12:34:05+00:00)
Title: [TECH SUPPORT] LPS-29626

Hi Dániel,

This is a small fix that should prevent Tika from closing a stream. Right now, there is a chance that it intermittently closes it when encountering certain files (I can send you a test file).

This leads to various issues ranging from unsuccessful uploads to aborted import processes. It should be fixed in Tika 0.10 but as this is for a customer, upgrading it is unfortunately out of question... also, the commit that fixed it in Tika is huge (TIKA-701), which is why applying it to 0.9 also doesn't seem like a good idea.

If you have any questions, just let me know.

Thanks,
Daniel