[ZBX-11390] LLD rule error tooltip displays all errors in a single line Created: 2016 Oct 26  Updated: 2017 May 30  Resolved: 2016 Nov 14

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.0.5
Fix Version/s: 3.0.6rc1, 3.2.2rc1, 3.4.0alpha1

Type: Incident report Priority: Minor
Reporter: Andris Zeila Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: layout
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File discovery_error.png    

 Description   

When multiple errors are encountered during LLD processing server stores them separated by LF (\n) characters:

mysql> select key_,error from items where itemid=23672;
+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| key_            | error                                                                                                                                                |
+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| utrap.discovery | Cannot update trigger: name is empty.
Cannot update trigger: name is empty.
Cannot update graph: name is empty.
Cannot update graph: name is empty.
 |
+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------+

Frontend should display them in separate lines, however:



 Comments   
Comment by Pavel Amosov (Inactive) [ 2016 Oct 28 ]

It looks like every corresponding sentence should be put inside the paragraph tags

<p>text1</p><p>text2</p>

or separated with the break tag

text1<br>text2

Comment by Oleg Egorov (Inactive) [ 2016 Nov 04 ]

(1) No translation string changes.

iivs CLOSED

Comment by Oleg Egorov (Inactive) [ 2016 Nov 04 ]

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

Comment by Natalja Romancaka [ 2016 Nov 07 ]

ui tested

Comment by Ivo Kurzemnieks [ 2016 Nov 09 ]

Cool! We even fixed two hint box problems with this.
TESTED

Comment by Oleg Egorov (Inactive) [ 2016 Nov 09 ]

Fixed in:

  • pre-3.0.6rc1 r63662
  • pre-3.2.2rc1 r63663
  • pre-3.3.0 (trunk) r63664
Generated at Sat Apr 27 06:14:07 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.