Werk #12555: Views: Fix crash when sorting hosts by IPv4 addresses

Component User interface
Title Views: Fix crash when sorting hosts by IPv4 addresses
Date Mar 29, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When trying to sort a host view by the IPv4 address column, an exception like "TypeError ('>' not supported between instances of 'str' and 'tuple')" occurred when the hosts to be sorted had mixed addreses (IPv4 addresses and host or DNS names) configured.

To the list of all Werks