-
Problem report
-
Resolution: Fixed
-
Trivial
-
2.2.22, 3.0.19
-
None
-
Sprint 46, Nov 2018, Sprint 47, Dec 2018
-
1
Graph description is vanished on monitoring screen at the condition where
same items but they have diffeent function (e.g. max and avg) are registered.
The following codes in frontends/php/include/classes/screens/CScreenGraph.php adds argument to URL.
108 $newGraphItems = getSameGraphItemsForHost($graph['gitems'], $this->hostid, false); 109 foreach ($newGraphItems as $newGraphItem) { 110 unset($newGraphItem['gitemid'], $newGraphItem['graphid']); 111 112 foreach ($newGraphItem as $name => $value) { 113 $this->screenitem['url']->setArgument('items['.$newGraphItem['itemid'].']['.$name.']', $value); 114
Because it does not care for combination, l.113 overwrites.