[
https://issues.apache.org/jira/browse/TIKA-2816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16751636#comment-16751636
]
Hudson commented on TIKA-2816:
------------------------------
SUCCESS: Integrated in Jenkins build tika-branch-1x #155 (See
[https://builds.apache.org/job/tika-branch-1x/155/])
TIKA-2816 -- fix unit test (tallison:
[https://github.com/apache/tika/commit/e82382a9ef79ea6d774cd52a76f7549ee3246288])
* (edit) tika-server/src/test/java/org/apache/tika/server/TikaResourceTest.java
> Error when sending request to /tika with header X-Tika-OCRMinFileSizeToOcr
> --------------------------------------------------------------------------
>
> Key: TIKA-2816
> URL: https://issues.apache.org/jira/browse/TIKA-2816
> Project: Tika
> Issue Type: Bug
> Components: server
> Affects Versions: 1.19, 1.20, 1.19.1
> Environment: Tika server 1.20 running in latest Ubuntu in a Docker
> container (https://github.com/LogicalSpark/docker-tikaserver).
> Reporter: Anssi Törmä
> Assignee: Tim Allison
> Priority: Major
> Fix For: 2.0.0, 1.21
>
>
> I'm getting an error (status 500) when sending a request to PUT /tika with
> X-Tika-OCRMinFileSizeToOcr. Console logs "WARN
> javax.ws.rs.WebApplicationException: X-Tika-OCRMinFileSizeToOcr is an invalid
> X-Tika-OCR header". This was is working in version 1.17.
> I'm guessing this is because
> org.apache.tika.server.resource.TikaResource.java does not parse long valued
> setters. The type of field minFileSizeToOcr in
> org.apache.tika.parser.ocr.TesseractOCRConfig.java was changed from int to
> long in version 1.19.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)