Magnolia 6.2.40 known issues
WebP image requests return 404
After upgrading to 6.2.40, there is an issue where WebP image requests are returning a 404
.
The issue is caused by a version conflict for the kotlin-stdlib-jdk8
library.
The dx-core
webapp has a dependency of version 1.6.10
and the webp-imageio
library has a dependency of version 1.9.10
.
This issue is addressed in BUILD-1181. |
Workaround
To bypass this issue:
-
Declare version
1.9.10
in the root POM. -
Inject it to the webapp declaratively.
<properties> <kotlin-stdlib-version>1.9.10</kotlin-stdlib-version> (1) </properties> ... <dependency> <artifactId>kotlin-stdlib-jdk8</artifactId> <groupId>org.jetbrains.kotlin</groupId> <version>${kotlin-stdlib-version}</version> </dependency> <dependency> <artifactId>kotlin-stdlib</artifactId> <groupId>org.jetbrains.kotlin</groupId> <version>${kotlin-stdlib-version}</version> </dependency> <dependency> <artifactId>kotlin-stdlib-common</artifactId> <groupId>org.jetbrains.kotlin</groupId> <version>${kotlin-stdlib-version}</version> </dependency>
1 Version declared under <properties>
.