[ 
https://issues.apache.org/jira/browse/TIKA-2307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15936576#comment-15936576
 ] 

Hudson commented on TIKA-2307:
------------------------------

SUCCESS: Integrated in Jenkins build tika-2.x #231 (See 
[https://builds.apache.org/job/tika-2.x/231/])
TIKA-2307 -- include finer grained supported types so that users can (tallison: 
rev e3fead445e90a0c1fd8dcc2d2de87eb10e9e91ee)
* (edit) 
tika-parser-modules/tika-parser-office-module/src/test/java/org/apache/tika/parser/microsoft/ExcelParserTest.java
* (edit) 
tika-parser-modules/tika-parser-office-module/src/main/java/org/apache/tika/parser/microsoft/ooxml/OOXMLParser.java


> Accidentally swallowing UnsupportedZipFeatureException in rare cases
> --------------------------------------------------------------------
>
>                 Key: TIKA-2307
>                 URL: https://issues.apache.org/jira/browse/TIKA-2307
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>            Reporter: Tim Allison
>            Priority: Trivial
>             Fix For: 2.0, 1.15
>
>
> It looks from this comment in the PackageParser that we mean to re-throw this 
> exception, but we aren't.
> {noformat}
> catch (UnsupportedZipFeatureException zfe) {
>             // If it's an encrypted document of unknown password, report as 
> such
>             if (zfe.getFeature() == Feature.ENCRYPTION) {
>                 throw new EncryptedDocumentException(zfe);
>             }
>             // Otherwise fall through to raise the exception as normal
>         }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to