[ZBX-25774] Top Items thresholds not working for as-is numeric values Created: 2024 Dec 20 Updated: 2026 Apr 01 |
|
| Status: | Resolved |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Frontend (F) |
| Affects Version/s: | 7.2.0, 7.2.1rc1, 7.2.1rc2 |
| Fix Version/s: | 7.4.10rc1, 8.0.0beta1 (master) |
| Type: | Problem report | Priority: | Major |
| Reporter: | Kyle Harris | Assignee: | Aleksandrs Subins |
| Resolution: | Unresolved | Votes: | 4 |
| Labels: | thresholds, topitems | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 18h | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 24.04, Apache2, PostgreSQL |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Team: | |||||||||
| Sprint: | S25-W50/51/52/01, S26-W04/05, S26-W06/07 | ||||||||
| Story Points: | 1 | ||||||||
| Description |
|
Steps to reproduce:
Result:
Expected: |
| Comments |
| Comment by Dimitri Bellini [ 2025 Sep 15 ] |
|
Hi Guys, the problem seems still present on 7.4.2, do you have ETA for a fix? Thank you |
| Comment by Andrea Marconi [ 2025 Sep 15 ] |
|
Hello, I’m currently experiencing the same issue with Zabbix version 7.4.2 regarding widget functionality. This limitation is significantly impacting our ability to fully utilize the widget as intended. A fix or workaround would be greatly appreciated to restore full usability. Thank you, |
| Comment by Dimitri Bellini [ 2025 Sep 23 ] |
|
Hi DevTeam, I don't any updates on this topic, did you face a some blocking problem to fix it? Thanks so much |
| Comment by Andrea Marconi [ 2025 Sep 23 ] |
|
Hello, I would like to ask if there is a planned patch scheduled for the near future.
Thank you! |
| Comment by Nathan [ 2025 Dec 22 ] |
|
Validado no Zabbix 7.2.12 case CWidgetFieldColumnsList::DISPLAY_AS_IS: if (array_key_exists('thresholds', $column) && is_numeric($value)) { foreach ($column['thresholds'] as $threshold) { } if ($threshold_color !== null) { $style = 'background-color: #' . $threshold_color; }} if ($style === null && $color !== '') { $style = 'background-color: #' . $color; }if ($style !== null) { $value_cell->addStyle($style); }if (!$is_view_value) { return [$value_cell]; }return [(new CCol())->addStyle($style), $value_cell]; |