Deleting item used in trigger prototype results in corrupt expression

XMLWordPrintable

      To reproduce:

      • Create trigger prototype.
      • In trigger expression use one item prototype and another normal item.
      • Save trigger prototype.
      • Now delete the normal item.

      This results in corrupted trigger prototype expression like {host:item.last()}=0 and *ERROR*=0.

      Deleting an item used in trigger expression also deletes trigger. It should also check if used in trigger prototypes and delete trigger prototype as well.

            Assignee:
            Unassigned
            Reporter:
            Ivo Kurzemnieks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: