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

Hudson commented on TIKA-4111:
------------------------------

SUCCESS: Integrated in Jenkins build Tika » tika-main-jdk11 #1193 (See 
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk11/1193/])
TIKA-4111 - test file to reproduce issue (lfcnassif: 
[https://github.com/apache/tika/commit/adfae59af4c386372d8ab8248960899b293425c2])
* (add) 
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-apple-module/src/test/resources/test-documents/testKeynote2013.detect
TIKA-4111 - test to reproduce issue and additional test (lfcnassif: 
[https://github.com/apache/tika/commit/43aceea436f3942fd841e94929394d124d6b0059])
* (add) 
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-apple-module/src/test/java/org/apache/tika/detect/apple/IWorkDetectorTest.java
Tika-4111 - return null if main entry is found & adjust depending calls 
(lfcnassif: 
[https://github.com/apache/tika/commit/bfc71d53f4f1c8f95fd89a4ec089d7b7ec192981])
* (edit) 
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-apple-module/src/main/java/org/apache/tika/parser/iwork/iwana/IWork13PackageParser.java
TIKA-4111 - makes streaming detection to continue working (lfcnassif: 
[https://github.com/apache/tika/commit/2dc452ef30ad032c23a09cf231fad8bb42705392])
* (edit) 
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-apple-module/src/main/java/org/apache/tika/detect/apple/IWorkDetector.java
TIKA-4111 - update release notes (lfcnassif: 
[https://github.com/apache/tika/commit/644ef09fce546ff204d554ab5c1b01ecb45d99c8])
* (edit) CHANGES.txt


> iWork keynote file with wrong extension not detected properly
> -------------------------------------------------------------
>
>                 Key: TIKA-4111
>                 URL: https://issues.apache.org/jira/browse/TIKA-4111
>             Project: Tika
>          Issue Type: Bug
>          Components: detector
>    Affects Versions: 2.8.0
>            Reporter: Luís Filipe Nassif
>            Assignee: Luís Filipe Nassif
>            Priority: Minor
>             Fix For: 2.8.1
>
>         Attachments: keynote
>
>
> Attached keynote file, without the *.key extension, should be detected as 
> "application/vnd.apple.keynote.13" but is being detected as 
> "application/vnd.apple.unknown.13". 
> The IWork13PackageParser.detect(ZipFile) method iterates over zip entries and 
> calls detectIfPossible(ZipEntry) multiple times. Inside the last method, the 
> check for "Index/MasterSlide-{*}"{*} or "Index/Slide-" files should work, 
> they are found inside the attached file. But since those entries can appear 
> in arbitrary order, the "Index/Document.iwa" entry is found before and then 
> "application/vnd.apple.unknown.13" is returned. The fix is simply returning 
> null when "Index/Document.iwa" entry is found.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to