[
https://issues.apache.org/jira/browse/TIKA-4519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18040780#comment-18040780
]
Tilman Hausherr edited comment on TIKA-4519 at 11/26/25 10:59 AM:
------------------------------------------------------------------
TestFileSystemStatusReporter.testBasic() fails on windows because it can't
handle "C:\Users". The {{jsonStr}} parameter can be both a filename or a json
string?! It works by adding this:
{code:java}
jsonStr = jsonStr.replace('\\', '/');
{code}
Same problem at 3 places in TestJDBCPipesReporter.
Same problem in AsyncProcessorTest at 6 places in the "String jsonTemp = json"
segment.
Same problem in PluginsWriter at 3 places where there is
".toAbsolutePath().toString()".
Same problem in PluginsTestHelper at 5 places where there is
".toAbsolutePath().toString()".
was (Author: tilman):
TestFileSystemStatusReporter.testBasic() fails on windows because it can't
handle "C:\Users". The {{jsonStr}} parameter can be both a filename or a json
string?! It works by adding this:
{code:java}
jsonStr = jsonStr.replace('\\', '/');
{code}
Same problem at 3 places in TestJDBCPipesReporter.
Same problem in AsyncProcessorTest at 6 places in the "String jsonTemp = json"
segment.
Same problem in PluginsWriter at 3 places where there is
".toAbsolutePath().toString()".
> Fully integrate pf4j for pipes components
> -----------------------------------------
>
> Key: TIKA-4519
> URL: https://issues.apache.org/jira/browse/TIKA-4519
> Project: Tika
> Issue Type: Sub-task
> Reporter: Tim Allison
> Priority: Major
> Fix For: 4.0.0
>
> Attachments: config-template1.json, config-template2.json,
> config-template3.json
>
>
> This is planned on a follow on to TIKA-4512 if that's successful for fetchers
> as a proof of concept.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)