-
Incident report
-
Resolution: Fixed
-
Major
-
1.8.20rc1
test case:
- create empty template
- add item (with for example proc.num)
- add graph with just created item
- on save full clone test template everything will fail with sql error like:
Added new item "Template_test_445:proc.num"
Error in query [INSERT INTO graphs (graphid,name,width,height,ymin_type,ymax_type,yaxismin,yaxismax,ymin_itemid,ymax_itemid,templateid,show_work_period,show_triggers,graphtype,show_legend,show_3d,percent_left,percent_right) VALUES (387,'test','900','200','0','0','0.0000','100.0000','0','0','0','0','0','0','0','0','0.0000','0.0000'] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]