Pardon ? Then what are the differing IDs in between templates and hosts good for ?
Replace "get updated" with "should get updated" as i've seen it not happen, just was not in the mood to hunt down which cases they really are.
In a situation where you emulate templates by trying to keep things in sync by repeating copyies you get into several problems:
- You must never forget to do these updates
- You must never forget to do these updates
- You must track which Objects really are based on a template, and which have been modified locally. Once they are meant to be real copies, you must remember to stop copying.
- All in all, complexity for the program will quickly become higher with copying than with real templates (given you use an API and not SQL directly from your clients).
Which is if you add another template on a template used by a host, predefined objects in that template won't appear in the host. Which probably just means that again, copying was forgotten. If they were real templates, this kind of issues wouldn't arise at all.
Basically, see issue report earlier in the thread.
Basically, see issue report earlier in the thread.
In effect, without actually checking the DB, i would tend to think based on the external indicators, there is no chance i believe you saying there are real templates at work.
In general, I agree that current implementation of templates (even if everything works as expected) is not very straight forward. It is quite confusing.
Having said this, I do not see other way how this can be implemented nicely.
Suppose we have real (in your understanding) templates. What if we want to add a new host-specific item to a host (not template)? How this can be implemented? Can we use several real templates for one host? Please explain. I'm really interested!
Comment