not possible to attach multiple triggers to a map link

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: None
    • Component/s: Frontend (F)
    • None
    • Environment:
      sles 10 sp1, apache 2.2.3, php 5.1.2, mysql 5.0.26.
      zabbix trunk revision 5131

      adding additional triggers to an existing link fails (this output is with two additional triggers, it slightly differs with one additional trigger) :

      Error in query [INSERT INTO sysmaps_link_triggers (linkid,triggerid,drawtype,color) VALUES ('1','12771','0','Red')] [Duplicate entry '1' for key 1]
      Error in query [INSERT INTO sysmaps_link_triggers (linkid,triggerid,drawtype,color) VALUES ('1','12776','0','Dark Blue')] [Duplicate entry '1' for key 1]
      Missing argument 2 for delete_link_trigger(), called in /srv/www/htdocs/zabbix/include/maps.inc.php on line 236 and defined[/srv/www/htdocs/zabbix/include/maps.inc.php:276]
      Undefined variable: triggerid[/srv/www/htdocs/zabbix/include/maps.inc.php:277]
      Error in query [DELETE FROM sysmaps_link_triggers WHERE linkid=1 AND triggerid=] [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]

            Assignee:
            Unassigned
            Reporter:
            richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: