Page 2 of 2

Re: Bulk host cloning and import bug

Posted: Mon Sep 16, 2019 12:15 pm
by Benji
scottwilkerson wrote:
You should not clear the box if you want them replaced
I don't want them replaced, I want them added as the checkbox indicates.

Re: Bulk host cloning and import bug

Posted: Mon Sep 16, 2019 1:03 pm
by scottwilkerson
I was able to re-create what you reported.

Attached is a fixed version of the wizard you can install through Admin -> Manage Config Wizards

Re: Bulk host cloning and import bug

Posted: Mon Sep 16, 2019 1:38 pm
by Benji
scottwilkerson wrote:I was able to re-create what you reported.

Attached is a fixed version of the wizard you can install through Admin -> Manage Config Wizards
Thanks! But I found another issue with this version. If parenthost or hostgroup are empty on the host being cloned, the imported parenthost or hostgroup is discarded. It will only add the imported value if there is something already there.

In my case, I've set up a template host that has a hostgroup, but no parenthost, that is being cloned. The hostgroup is now added to the existing list of hostgroups, but no parenthost is imported.

Re: Bulk host cloning and import bug

Posted: Mon Sep 16, 2019 2:06 pm
by scottwilkerson
Thanks for catching this!

New version attached

Re: Bulk host cloning and import bug

Posted: Mon Sep 16, 2019 2:18 pm
by Benji
scottwilkerson wrote:Thanks for catching this!

New version attached
Perfect! Thanks for the quick turnaround!

Re: Bulk host cloning and import bug

Posted: Mon Sep 16, 2019 2:54 pm
by scottwilkerson
Benji wrote:
scottwilkerson wrote:Thanks for catching this!

New version attached
Perfect! Thanks for the quick turnaround!
Glad it is resolved!

Locking thread