Branch: refs/heads/backport-3213-to-stable-16.4.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: 68f3808b8ac7d9d3ebf40073ee01c4cd4c9e1fe3
https://github.com/xwiki/xwiki-platform/commit/68f3808b8ac7d9d3ebf40073ee01…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M
xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/java/org/xwiki/notifications/filters/internal/NotificationFilterPreferenceStore.java
A
xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/java/org/xwiki/notifications/filters/migration/R160500000XWIKI22271DataMigration.java
M
xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/resources/META-INF/components.txt
M
xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/test/java/org/xwiki/notifications/filters/internal/NotificationFilterPreferenceStoreTest.java
A
xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/test/java/org/xwiki/notifications/filters/migration/R160500000XWIKI22271DataMigrationTest.java
Log Message:
-----------
XWIKI-22271: Custom filters to subwiki remain on the main Wiki after subwiki is deleted
(#3213)
* Iterate over all wikis when deleting filters related to a wiki
* Fix unit test
* Provide a migration to clean up filters related to deleted wikis
* Provide unit test for the migration
* Fix migration query after testing
* Add a few comments over the query
(cherry picked from commit 858605a25625999f2e1e263b35e43ffd77b92ee0)
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications