[ZBX-5490] 'ERROR: Cannot acknowledge event' raised with Acknowledge, but not raised with Acknowledge and return. Created: 2012 Aug 23  Updated: 2017 May 30  Resolved: 2012 Aug 31

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.2
Fix Version/s: 2.0.3rc1, 2.1.0

Type: Incident report Priority: Minor
Reporter: Siert Z. Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-5548 The "Acknowledge" action silently fai... Closed

 Description   

An acknowledgement has an allowed length of 255 characters.

If it exceeds 255 characters, the acknowledge button wil raise an error returning:

ERROR: 'Cannot acknowledge event'
Value: "acknowledge input text" is too long for field "message" - 456 characters. Allowed length is 255 characters.

If you exceed 255 characters and hit the 'Acknowledge and return' button it won't raise an error and won't save the text either.



 Comments   
Comment by Alexei Vladishev [ 2012 Aug 29 ]

We should set a hard limit on text fields, i.e. it must be impossible to enter more than allowed number of characters.

Comment by Eduards Samersovs (Inactive) [ 2012 Aug 30 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5490

Comment by Alexey Fukalov [ 2012 Aug 30 ]

(1)
Some changes in js as we discussed

<Eduard> RESOLVED

<Vedmak> Please review my commit 29991.

<Eduard> CLOSED

Comment by Eduards Samersovs (Inactive) [ 2012 Aug 31 ]

Fixed in versions pre-2.1.0 (beta) r29993, pre-2.0.3 r29992

Comment by richlv [ 2012 Sep 06 ]

ZBXNEXT-929 asks to increase this limit

Comment by Marc [ 2013 May 09 ]

Release 2.0.6 seems to be still affected by this issue.
Submitting an acknowledge message with 255 characters won't raise an error and won't save the message text.

Comment by richlv [ 2014 Feb 03 ]

at least in opera with current trunk it acts a bit strange - if i try to enter anything longer than 255 symbols, it visibly shows longer string and then trims it. if you have a way to submit longer message, please, open a new issue (and note browser & database used)

Generated at Fri Apr 19 10:33:33 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.