link/unlink sequence incorrect

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Major
    • 1.8.2
    • Affects Version/s: 1.9.0 (alpha)
    • Component/s: Frontend (F)
    • None

      trunk & 1.8 head.

      create two templates (let's say t1 & t2), link t2 to t1.

      create a host, link it to t2, save.

      reopen host, remove t2 linkage, add t1, save :

      [ CTemplate::massAdd ] Circular link can not be created
      [ CHost::massUpdate ] Can't link template
      [ CHost::update ] Host update failed

      such an operation should always unlink removed templates first, then add new ones.

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

              Created:
              Updated:
              Resolved: