Unlink and clear" multiple templates from parent template leaves unlinked items

XMLWordPrintable

    • Type: Incident report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 2.4.2
    • Component/s: Frontend (F)
    • Environment:
      PHP 5.6

      Unlink and clear" multiple templates from parent template leaves unlinked items on the parent template. Temp fix is to "Unlink and clear" one template at a time from parent template and updating between each child template remove will not leave any unlinked items on the parent template.

      Steps to create the issue.
      1. Create a template called "parent".
      2. Create a template called "child 1" with some items in it, applications, triggers, etc.
      3. Create another template called "child 2" with some items in it, applications, triggers, etc.
      4. Create another template called "child 3" with some items in it, applications, triggers, etc.
      5. Link template "child 1", "child 2" and "child 3" to template "parent"
      6. Update "parent" template.
      7. Assign "parent" template to a host.
      8. Go to Configuration -> Templates -> "parent"
      9. Go to the "Linked templates" tab.
      10. "Unlink and clear" templates "child 1", child 2" and "child 3" all at the same time and then click update.
      11. Look at items, applications, etc. on the parent template and you will see that the items, applications, etc. were unlinked from the "child 1", "child 2" and "child 3" templates without being cleared even though "Unlink and clear" was selected.

      Work around: You have to "Unlink and clear" one child template at a time and update between each one.

            Assignee:
            Unassigned
            Reporter:
            Kenneth Palmertree
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: