[xwiki/xwiki-platform] 285d5a: XWIKI-25280: Notifications macro fails with "Unsup...
Branch: refs/heads/XWIKI-25280 Home: https://github.com/xwiki/xwiki-platform Commit: 285d5acb5f3521053f8eb35ada3347529a06b2ef https://github.com/xwiki/xwiki-platform/commit/285d5acb5f3521053f8eb35ada334... Author: Simon Urli <[email protected]> Date: 2026-10-13 (Tue, 13 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-sources/pom.xml M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-sources/src/main/java/org/xwiki/notifications/sources/internal/EventQueryGenerator.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-sources/src/main/java/org/xwiki/notifications/sources/internal/EventSearcher.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-sources/src/test/java/org/xwiki/notifications/sources/internal/EventQueryGeneratorTest.java A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-sources/src/test/java/org/xwiki/notifications/sources/internal/EventSearcherTest.java Log Message: ----------- XWIKI-25280: Notifications macro fails with "Unsupported block node [null]" when there is no notification preference * Return no query from EventQueryGenerator when no event can match the notification parameters (no notification preference, e.g. for the guest user), instead of converting a null expression * Return no event from EventSearcher in this case, without searching the event store * Add EventSearcherTest and increase the coverage threshold of xwiki-platform-notifications-sources to 0.75 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications