Branch: refs/heads/backport-1346-to-stable-17.4.x
Home:
https://github.com/xwiki/xwiki-commons
Commit: 6422eabef7883a5ca108365640bf01e04f97601b
https://github.com/xwiki/xwiki-commons/commit/6422eabef7883a5ca108365640bf0…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-05-28 (Wed, 28 May 2025)
Changed paths:
M
xwiki-commons-core/xwiki-commons-environment/xwiki-commons-environment-servlet/pom.xml
M
xwiki-commons-core/xwiki-commons-environment/xwiki-commons-environment-servlet/src/main/java/org/xwiki/environment/internal/ServletEnvironment.java
A
xwiki-commons-core/xwiki-commons-environment/xwiki-commons-environment-servlet/src/main/java/org/xwiki/environment/internal/ServletEnvironmentCacheInitializer.java
M
xwiki-commons-core/xwiki-commons-environment/xwiki-commons-environment-servlet/src/main/resources/META-INF/components.txt
A
xwiki-commons-core/xwiki-commons-environment/xwiki-commons-environment-servlet/src/test/java/org/xwiki/environment/internal/ServletEnvironmentCacheInitializerTest.java
M
xwiki-commons-core/xwiki-commons-environment/xwiki-commons-environment-servlet/src/test/java/org/xwiki/environment/internal/ServletEnvironmentTest.java
Log Message:
-----------
XCOMMONS-3348: The servlet environment triggers a second load of the xwiki.properties
configuration (#1346)
* Trigger the cache initialization in a separate event listener on the
ApplicationStartedEvent. This ensures that the cache manager is ready.
* Add and adapt unit tests.
(cherry picked from commit c92dd170b99505979fc5f3f48b2d77c86c394e5e)
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-commons/settings/notifications