Branch: refs/heads/stable-16.10.x Home: https://github.com/xwiki/xwiki-platform Commit: 30d132566b3c686ec09f88cc3ace5bae679767d2 https://github.com/xwiki/xwiki-platform/commit/30d132566b3c686ec09f88cc3ace5... Author: Michael Hamann <[email protected]> Date: 2026-06-09 (Tue, 09 Jun 2026) Changed paths: M xwiki-platform-core/xwiki-platform-mail/xwiki-platform-mail-send/xwiki-platform-mail-send-storage/src/main/java/org/xwiki/mail/internal/DatabaseMailStatusStore.java M xwiki-platform-core/xwiki-platform-mail/xwiki-platform-mail-send/xwiki-platform-mail-send-storage/src/test/java/org/xwiki/mail/internal/DatabaseMailStatusStoreTest.java Log Message: ----------- XWIKI-24201: MailStatusStore should validate filter and sorting fields * Validate filter and sorting fields, ignoring invalid sort fields and throwing on invalid filter fields. * Use MailStatus property names qualified with an alias (to avoid reserved keywords) instead of the actual column names. * Map the documented but wrong "status" key to the "state" property. * Map the "id" field, which was previously mapped to the "mail_id" column, to the "messageId" property that is stored in the "mail_id" column. * Adapt tests to not use the non-existing status key except for an actual test for the alias. * Add tests for the validation. (cherry picked from commit 6f2a608c5ca6c367b23203833a763e1f6d5f4bf8) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications