[
https://issues.apache.org/jira/browse/TIKA-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luis Filipe Nassif updated TIKA-1222:
-------------------------------------
Description: 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. (was: TikaCli --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.)
Affects Version/s: 1.5
1.6
> 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)