Werk #22128: Fix crash on User messages page with older messages
| Component | User interface | ||||||
| Title | Fix crash on User messages page with older messages | ||||||
| Date | Aug 17, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Opening User messages could fail with a crash report showing
TypeError: '<' not supported between instances of 'NoneType' and 'bool',
leaving the page empty.
This happened as soon as one of the stored messages predated the distinction between normal and security messages. Such a message carries no security flag, and sorting it together with newer messages that do carry one failed.
Messages without a security flag are now sorted as normal messages, and the page lists all messages again.