[ZBX-12530] A non well formed numeric value encountered slides Created: 2017 Aug 18  Updated: 2018 Oct 09  Resolved: 2017 Sep 14

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.4.0rc2
Fix Version/s: 3.4.2rc1, 4.0.0alpha1, 4.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Vladislavs Sokurenko Assignee: Miks Kronkalns
Resolution: Fixed Votes: 0
Labels: slideshows
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot from 2017-08-18 13-03-26.png     File ZBX-12530.patch     PNG File ns_error_failure_big.png     PNG File timer.png    
Team: Team B
Sprint: Sprint 14, Sprint 15, Sprint 16
Story Points: 0.5

 Description   

A non well formed numeric value encountered [slides.php:229 ? CView->render() ? include() ? require_once() in include/views/js/monitoring.slides.js.php:8]



 Comments   
Comment by Miks Kronkalns [ 2017 Aug 21 ]

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

Comment by Ivo Kurzemnieks [ 2017 Aug 21 ]

(1) Translation string changes?

Miks.Kronkalns No translation string changes.

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2017 Aug 21 ]

(2) One does not simply convert strings to integers. We can have other time formats like 1m. That will result in 1 second.

Miks.Kronkalns RESOLVED in r71489

iivs There is no need for additional variables.

RESOLVED in r71675

Miks.Kronkalns CLOSED

Comment by Ivo Kurzemnieks [ 2017 Aug 21 ]

(3) Maybe related, maybe not. But after a while I get this error:

Miks.Kronkalns After waiting several minutes, unable to reproduce.

iivs Create a slideshow with one slide containing 3 graphs: a pie chart, a stacked graph and a line graph. Try to use built-in graphs like disk space usage or CPU load. Set page refresh to 30s and slideshow refresh to 2m. Set slider to "All".

REOPENED

Miks.Kronkalns
This seems another bug.

Well, fixed, but error message indicates that actually something else might be broken. QA, please make sure that all elements in slide show are updated properly and also visual effects (just guess looking at code - there are shadow and speed, but have no idea how it behaves) are not broken. Fix is made only to avoid display an error. I do not know what role each effect has. Now, if condition of error occurres, effects will not be applied.

RESOLVED in ^/branches/dev/ZBX-12530 71693

iivs Incorrect coding style.

REOPENED

Miks.Kronkalns RESOLVED in r71735

iivs I'm not sure if this is a proper fix. For some reason same code works in screens, but in slideshows due to loading of new slided and whole screen area being page being refreshed, not only portions of graphs, it loses the variable creating an error. Since in the future slideshows will me moved to dashboards, there is no real reason to spend more time investigating this error.

CLOSED

Comment by Miks Kronkalns [ 2017 Sep 13 ]

Fixed:

  • 3.4.2rc1 r72623
  • 4.0.0alpha1 (trunk) r72624
Generated at Fri Mar 29 01:47:11 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.