Items from other hosts and templates should not be allowed to add for a templated graph

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Major
    • 2.2.0
    • Affects Version/s: 2.1.2
    • Component/s: API (A)

      We have a template which has an item and a graph containing that item. And we have a host which uses that template and automatically we have child item and child graph. In frontend it's not allowed to add items from other hosts and templates, but in API it's allowed and results in corrupted child graph. See attached image for more visual explanation.

      API should validate if graph item belongs to corresponding template and trow and error if it doesn't.

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

              Created:
              Updated:
              Resolved: