From ca519775b869c8d89a61aed8a39dbb8d446aa6d5 Mon Sep 17 00:00:00 2001 From: Simon Urli Date: Thu, 15 Feb 2024 10:21:27 +0100 Subject: [PATCH] Update xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/java/org/xwiki/notifications/filters/internal/DocumentMovedListener.java Co-authored-by: Manuel Leduc --- .../notifications/filters/internal/DocumentMovedListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/java/org/xwiki/notifications/filters/internal/DocumentMovedListener.java b/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/java/org/xwiki/notifications/filters/internal/DocumentMovedListener.java index ed82689fc0c1..9c28480cfb0c 100644 --- a/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/java/org/xwiki/notifications/filters/internal/DocumentMovedListener.java +++ b/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/java/org/xwiki/notifications/filters/internal/DocumentMovedListener.java @@ -98,7 +98,7 @@ public void processLocalEvent(Event event, Object source, Object data) // we need to iterate over all DB to ensure we properly migrate the filters. // We could have checked the configuration of the wiki to see if they are allowed to store user or not // but this config might have changed over time... - for (String wikiId : wikiDescriptorManager.getAllIds()) { + for (String wikiId : this.wikiDescriptorManager.getAllIds()) { namespaceContextExecutor.execute(new WikiNamespace(wikiId), () -> { updatePreferences(sourceLocation, targetLocation); return null;