[
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 12:50 PM:
------------------------------------------------------------------
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()".
Same problem in TikaCLIAsyncTest at 5 places at "String json = jsonTemplate".
Same problem in CXFTestBase.createPluginsConfig() at 4+2 places near the 2
"String json = CXFTestBase.JSON_TEMPLATE.replace".
Same problem in ExtractProfileRunner at "json = json.replace".
Also different problem in TikaCLITest.testRecursiveUnpack(), goes away by
removing the ProcessUtils.escapeCommandLine().
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()".
Same problem in PluginsTestHelper at 5 places where there is
".toAbsolutePath().toString()".
Same problem in TikaCLIAsyncTest at 5 places at "String json = jsonTemplate".
Same problem in CXFTestBase.createPluginsConfig() at 4+2 places near the 2
"String json = CXFTestBase.JSON_TEMPLATE.replace".
Also different problem in TikaCLITest.testRecursiveUnpack(), goes away by
removing the ProcessUtils.escapeCommandLine().
> 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)