[xwiki/xwiki-platform] 989cc8: XWIKI-21880: Cannot delete user defined filters (#...
Branch: refs/heads/backport-2881-to-stable-15.10.x Home: https://github.com/xwiki/xwiki-platform Commit: 989cc8e43444987f4efcd3e679c1694e7de139ae https://github.com/xwiki/xwiki-platform/commit/989cc8e43444987f4efcd3e679c16... Author: Simon Urli <[email protected]> Date: 2024-02-13 (Tue, 13 Feb 2024) Changed paths: M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-api/src/main/java/org/xwiki/notifications/filters/internal/DefaultNotificationFilterPreferenceManager.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-api/src/test/java/org/xwiki/notifications/filters/internal/DefaultNotificationFilterPreferenceManagerTest.java Log Message: ----------- XWIKI-21880: Cannot delete user defined filters (#2881) * Refactor DefaultNotificationFilterPreferenceManager to never throw immediately an exception thrown by a provider, but to only do it if all providers failed * Provide a new test covering this behaviour * Small test improvment * Improve a bit the logic to use standard exception if there's only one provider (cherry picked from commit 103650db89d9c924abede07e4fc4246890f052cc)
participants (1)
-
XWiki Notifications