[ZBX-975] availability reports still using TRUE/FALSE Created: 2009 Jun 25  Updated: 2017 May 30  Resolved: 2009 Jun 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: None

Type: Incident report Priority: Minor
Reporter: richlv Assignee: Alexei Vladishev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

1.6.5, trunk rev 7471



 Description   

while everywhere else in frontend "PROBLEM/OK" is used to reflect trigger states, availability report graph legend (reports -> availability report -> click on any of the "show" links) still uses TRUE/FALSE in the legend - that is inconsistent and probably should match other locations of the frontend



 Comments   
Comment by Alexei Vladishev [ 2009 Jun 28 ]

Fixed in 1.6.x and trunk.

Comment by richlv [ 2009 Jun 29 ]

can't confirm in trunk, rev 7507 - availability reports still use TRUE/FALSE

that seems to be hardcoded somewhere, as locale has a definition of ;

'S_TRUE'=> 'True',
'S_FALSE'=> 'False',

while the commit changed ;

  • S_TRUE,
  • S_FALSE,
    + S_PROBLEMS,
    + S_OK,

i'm not sure where/whether S_TRUE & S_FALSE were used in that report at all...

Comment by Alexei Vladishev [ 2009 Jun 30 ]

I didn't notice the hard-coded constants in the chart. Fixed.

Comment by richlv [ 2009 Jun 30 ]

confirming the fix in trunk, rev 7518

Generated at Thu Apr 25 11:24:46 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.