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

Tyler Palsulich edited comment on OODT-805 at 1/24/15 3:52 PM:
---------------------------------------------------------------

I fixed the tika-mimetypes.xml resource path in r1654546 and all tests now pass.

Thanks, Tom!


was (Author: tpalsulich):
I fixed the tika-mimetypes.xml resource path in r1654546 and all tests now pass.

> MimeTypeUtils doesn't pass Tika the OODT mimetypes.xml
> ------------------------------------------------------
>
>                 Key: OODT-805
>                 URL: https://issues.apache.org/jira/browse/OODT-805
>             Project: OODT
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Tyler Palsulich
>            Assignee: Tyler Palsulich
>             Fix For: 0.9
>
>
> As Val identified at http://apache.markmail.org/thread/qpfpfvert4yapf3u, Tika 
> isn't actually passed the OODT tika-mimetypes.xml config file in 
> MimeTypesUtil. The problem is that the {{Tika}} instance used to {{detect()}} 
> is created with {{private Tika tika = new Tika();}}. Instead, we should 
> create it with {{this.tika = new Tika(new DefaultDetector(this.mimeTypes));}}.
> Commit coming up with the fix + test.
> Thanks for bringing this up, Val!
> I think this issue was brought in with OODT-630, the upgrade to Tika 1.6.



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

Reply via email to