Branch: refs/heads/stable-16.4.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: b06cde8fe5f2fd42736917cc02928926ba50f86c
https://github.com/xwiki/xwiki-platform/commit/b06cde8fe5f2fd42736917cc0292…
Author: github-actions[bot]
<41898282+github-actions[bot](a)users.noreply.github.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/R160401000XWIKI22271DataMigration.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/R160401000XWIKI22271DataMigrationTest.java
Log Message:
-----------
XWIKI-22271: Custom filters to subwiki remain on the main Wiki after subwiki is deleted
(#3219)
* 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)
* Set the proper DB version for 16.4.x branch.
* Rename the migration class for 16.4.x branch so that it remains consistent with DB
version.
* Rename the migration test too.
---------
Co-authored-by: Simon Urli <simon.urli(a)xwiki.com>
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications