You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Luis Filipe Nassif (JIRA)" <ji...@apache.org> on 2012/05/31 18:04:23 UTC
[jira] [Created] (TIKA-937) RFC822Parser is extracting only the
first destinatary address
Luis Filipe Nassif created TIKA-937:
---------------------------------------
Summary: RFC822Parser is extracting only the first destinatary address
Key: TIKA-937
URL: https://issues.apache.org/jira/browse/TIKA-937
Project: Tika
Issue Type: Bug
Components: parser
Affects Versions: 1.1
Environment: Windows 7 Enterprise 64bits, java 1.6.0_25 x86
Reporter: Luis Filipe Nassif
RFC822Parser is writting to metadata only the first address from "To" and "Cc" header fields (i did not test "Cco"). The others destinataries are lost.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TIKA-937) RFC822Parser is extracting only the
first destination address
Posted by "Nick Burch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404601#comment-13404601 ]
Nick Burch commented on TIKA-937:
---------------------------------
Check you're on the latest version of Tika then - getValues is certainly there!
http://tika.apache.org/1.1/api/org/apache/tika/metadata/Metadata.html#getValues(java.lang.String)
> RFC822Parser is extracting only the first destination address
> -------------------------------------------------------------
>
> Key: TIKA-937
> URL: https://issues.apache.org/jira/browse/TIKA-937
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.1
> Environment: Windows 7 Enterprise 64bits, java 1.6.0_25 x86
> Reporter: Luis Filipe Nassif
> Assignee: Jukka Zitting
>
> RFC822Parser is writting to metadata only the first address from "To" and "Cc" header fields (i did not test "Cco"). Other destination addresses are lost.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TIKA-937) RFC822Parser is extracting only the
first destination address
Posted by "Luis Filipe Nassif (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404600#comment-13404600 ]
Luis Filipe Nassif commented on TIKA-937:
-----------------------------------------
Yes, i am using Metadata.get(), i did not see the other method. Sorry for opening this issue.
Thank you,
Nassif
> RFC822Parser is extracting only the first destination address
> -------------------------------------------------------------
>
> Key: TIKA-937
> URL: https://issues.apache.org/jira/browse/TIKA-937
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.1
> Environment: Windows 7 Enterprise 64bits, java 1.6.0_25 x86
> Reporter: Luis Filipe Nassif
> Assignee: Jukka Zitting
>
> RFC822Parser is writting to metadata only the first address from "To" and "Cc" header fields (i did not test "Cco"). Other destination addresses are lost.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (TIKA-937) RFC822Parser is extracting only the
first destination address
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved TIKA-937.
--------------------------------
Resolution: Not A Problem
Assignee: Jukka Zitting
No, the parser explicitly adds all addresses to the Metadata instance, see {{MailContentHandler.processAddressList()}}.
Are you using Metadata.get() or .getValues() to access these fields? The former method only returns the first value of a multi-valued metadata field.
If the above doesn't solve the problem, please reopen this issue with an example message that illustrates the problem.
> RFC822Parser is extracting only the first destination address
> -------------------------------------------------------------
>
> Key: TIKA-937
> URL: https://issues.apache.org/jira/browse/TIKA-937
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.1
> Environment: Windows 7 Enterprise 64bits, java 1.6.0_25 x86
> Reporter: Luis Filipe Nassif
> Assignee: Jukka Zitting
>
> RFC822Parser is writting to metadata only the first address from "To" and "Cc" header fields (i did not test "Cco"). Other destination addresses are lost.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TIKA-937) RFC822Parser is extracting only the
first destination address
Posted by "Luis Filipe Nassif (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luis Filipe Nassif updated TIKA-937:
------------------------------------
Description: RFC822Parser is writting to metadata only the first address from "To" and "Cc" header fields (i did not test "Cco"). Other destination addresses are lost. (was: RFC822Parser is writting to metadata only the first address from "To" and "Cc" header fields (i did not test "Cco"). The others destinataries are lost.)
Summary: RFC822Parser is extracting only the first destination address (was: RFC822Parser is extracting only the first destinatary address)
> RFC822Parser is extracting only the first destination address
> -------------------------------------------------------------
>
> Key: TIKA-937
> URL: https://issues.apache.org/jira/browse/TIKA-937
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.1
> Environment: Windows 7 Enterprise 64bits, java 1.6.0_25 x86
> Reporter: Luis Filipe Nassif
>
> RFC822Parser is writting to metadata only the first address from "To" and "Cc" header fields (i did not test "Cco"). Other destination addresses are lost.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira