Hi,
following
https://github.com/DSpace/DSpace/issues/11678
I have applied the patch for our DSpace 8.0 Test System.
The patch did not apply ootb, mostly stuff inside the pom.xml (patch did
not find the matching text), manually corrected it and it compiled and
installed.
However, running "filter-media-p "Text Extractor" -v -f"
on the repo failed on a xlsx file with something like
java.lang.NoSuchMethodError:
'org.apache.commons.io.input.BoundedInputStream$Builder
org.apache.commons.io.input.BoundedInputStream.builder()
[…]
I did some research and ended up editing the pom.xml again, changing
some Apache commons stuff to the versions from the latest 8.x release:
old:
[…]
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.15.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.14.0</version>
</dependency>
[…]
new:
[…]
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.21.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.20.0</version>
</dependency>
[…]
compiled, installed and filter-media worked.
My problem is presumably having side-effects I don't know. So I'm asking
for some comments on that way, or if anyone else made the same experience ?
Michael