You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/01/16 01:43:35 UTC

[jira] [Commented] (TIKA-1222) Tika does not extract attachments from RFC822 files

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

Hudson commented on TIKA-1222:
------------------------------

SUCCESS: Integrated in tika-trunk-jdk1.7 #434 (See [https://builds.apache.org/job/tika-trunk-jdk1.7/434/])
TIKA-1222 For RFC822 mails, start to prefer a EmbeddedDocumentExtractor to a Parser for handling embedded resources, but retain the Parser use if not for backwards compatibility (nick: http://svn.apache.org/viewvc/tika/trunk/?view=rev&rev=1652319)
* /tika/trunk/tika-parsers/src/main/java/org/apache/tika/parser/mail/MailContentHandler.java
* /tika/trunk/tika-parsers/src/test/java/org/apache/tika/parser/mail/RFC822ParserTest.java


> Tika does not extract attachments from RFC822 files
> ---------------------------------------------------
>
>                 Key: TIKA-1222
>                 URL: https://issues.apache.org/jira/browse/TIKA-1222
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.4, 1.5, 1.6
>            Reporter: Luis Filipe Nassif
>         Attachments: Tika-1222.patch
>
>
> TikaApp --extract option does not extract attachments from RFC822 files. The issue happens because MailContentHandler.body(...) method gets a Parser.class object from the context and calls parser.parse(). It should get a EmbeddedDocumentExtractor.class object from the ParseContext one and call embeddedDocumentExtractor.parseEmbedded(), similar to other Container parsers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)