Branch: refs/heads/stable-14.10.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: 18d8e72138d2bffb4a7f7def1f9282f668b3898b
https://github.com/xwiki/xwiki-platform/commit/18d8e72138d2bffb4a7f7def1f92…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2023-11-27 (Mon, 27 Nov 2023)
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/UserAddedEventListener.java
M
xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/test/java/org/xwiki/notifications/filters/internal/UserAddedEventListenerTest.java
Log Message:
-----------
XWIKI-21616: Potential NPE when having ToggleableFilterPreferenceClass xobjects with
holes
* Protect against NPE and cover it in unit test
(cherry picked from commit 74d91015b5670df7416122673a19efe6f7e2c577)