When starting the alert row in a panel, it turns out that all values in column 2 had changed to "0".
A little research shows that the function aes_formatPriorityToInt() in the aes.ctl library is hard coded to update the alert priority to an integer, at column 2 (see code below).
In my opinion, this should be made more intelligent. Currently, this makes it impossible to shift the priority to any other column.
Code: Select all
aes_formatPriorityToInt(dyn_dyn_anytype &xtab)
{
int ixtab;
// read the result array
for(ixtab=1;ixtab<=dynlen(xtab[2]);ixtab++)
{
dyn_anytype atValueOld, atValueNew;
int iLen;
// read the current value
atValueOld = xtab[2][ixtab];
// ^^^^^^^
//
// COMMENT: This column should be determined intelligently!
....