Werk #5670: Handle history files from older EC versions, which have fewer columns.

Component Event Console
Title Handle history files from older EC versions, which have fewer columns.
Date Feb 14, 2018
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.5.0i3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.4.0p25 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

History files written by older versions of the EC might contain fewer columns than a newer EC handles. This fix fills these missing columns with their default values, avoiding log messages like

unknown precedence '' in table eventconsolehistory

in cmc.log later.

To the list of all Werks