[ZBX-7171] checkNoParameters() function incorrectly processes error messages Created: 2013 Oct 18  Updated: 2017 May 30  Resolved: 2013 Oct 24

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 2.1.7
Fix Version/s: 2.1.9, 2.2.0

Type: Incident report Priority: Trivial
Reporter: Alexander Vladishev Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 0
Labels: messages
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Incorrect message is displayed:

  • Cannot update "state" for trigger "Less than 250.000000ree in the configuration cache".

but should be

  • Cannot update "state" for trigger "Less than 25% free in the configuration cache".


 Comments   
Comment by Ivo Kurzemnieks [ 2013 Oct 21 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-7171

Comment by Alexander Vladishev [ 2013 Oct 22 ]

(1) The same problem may be in CItemGeneral.php

iivs RESOLVED in r39493

sasha CLOSED

Comment by Alexander Vladishev [ 2013 Oct 22 ]

(2) checkNoParameters() function shouldn't translate already translated string

iivs RESOLVED in r39493

sasha REOPENED

String should be inside _s() function. Otherwise it will be untranslatable.

iivs RESOLVED in r39539

sasha REOPENED

Please describe format of error message in checkNoParameters() description.

iivs RESOLVED in r39555

sasha CLOSED

Comment by Alexander Vladishev [ 2013 Oct 22 ]

(3) Is not the best solution. I think, it is possible to solve this by another method.

iivs RESOLVED in r39493

sasha CLOSED

Comment by Alexander Vladishev [ 2013 Oct 24 ]

TESTED

Comment by Ivo Kurzemnieks [ 2013 Oct 25 ]

Fixed in pre-2.1.9 (trunk) r39563

Generated at Fri Mar 29 03:28:57 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.