Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 74d91015b5670df7416122673a19efe6f7e2c577 https://github.com/xwiki/xwiki-platform/commit/74d91015b5670df7416122673a19e... 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