Branch: refs/heads/stable-15.10.x
Home: https://github.com/xwiki/xwiki-platform
Commit: 49ad41436851aee507b5c4129fe03da236dcd719
https://github.com/xwiki/xwiki-platform/commit/49ad41436851aee507b5c4129fe0…
Author: Simon Urli <simon.urli(a)xwiki.com>
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)