-
Problem report
-
Resolution: Fixed
-
Trivial
-
6.0.12, 6.2.6, 6.4.0beta5, 6.4 (plan)
-
Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023)
-
0.5
Unit conversion (1024 B => 1 KB) must never take place when value map is defined for an item and match exists for a particular value. Currently, unit conversion is done regardless of whether a map is defined for the item. And mapping is applied afterwards over the converted value (see formatHistoryValue PHP function and Item value widget).
Expected:
If a value map is defined for an item and match exists for a given non-converted value, no value formatting must take place. If decimal places are defined for displaying numeric items, those must be ignored in mentioned case.
If a value map is defined and there is no match for a specified value, the value must go through standard unit conversion.
- depends on
-
ZBX-22166 Item value widget does not show decimal places properly with seconds
- Closed