[BUG-14890] Disabled tags quality not 410 but -2.147.483.129?

Hi,

After upgrading from v7.9 to v8.0.3 (b2019080717) it seems that disabled tags quality is now -2.147.483.129 instead of the expected 410 value.

The good quality still corresponds to 192 as before.

We have lots (and lots) of expressions that check if a tags quality is 410 and this doens’t work now.

Is this a bug?

Thanks

It’s less a bug and more an unfortunate consequence of the quality code overhaul.

We were able to preserve the codes for some of the qualities with severity=Good, like 192, but anything uncertain or bad changed.

I’ll bring it up but I don’t know if there’s anything we can do about it.

If you bind the quality to a string, rather than an integer you get quality of ‘Bad_Disabled’ which you can use in expressions. It makes the expressions easy to read, but I’m not sure if this is more or less likely to change than the underlying integer.