Branch: refs/heads/stable-15.10.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: 013c5ee803c521d34b7199563c87cb8a4d982d32
https://github.com/xwiki/xwiki-platform/commit/013c5ee803c521d34b7199563c87…
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)