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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.4.0p25 1.5.0i3
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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