Branch: refs/heads/stable-15.5.x Home: https://github.com/xwiki/xwiki-platform Commit: 1b3bcda0ac4c0c4fc2c93b033488c1c926edffb3 https://github.com/xwiki/xwiki-platform/commit/1b3bcda0ac4c0c4fc2c93b033488c... Author: Simon Urli <[email protected]> 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)