BUG: Inherited contact/contactgroups don't play well with additive contact/contactgroups

Thomas Guyot-Sionnest dermoth at aei.ca
Tue Oct 20 21:31:52 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If a service is defined with no contactgroup, it's being inherited from
the host. Therefore when removing a contactcroup definition from a root
service template with the same contactgroup on all hosts, one would
expect the resulting config to be the same, right?

Unfortunately when using additive contactgroup definitions for a
service, only the service templates are looked up for a definition so
the host definitions are not inherited. The same foes for contact
definitions and service escalations. Any such service definition end up
having only the aditive definitions, not the ones normally inherited.

I didn't have the time to fix it yet, but it seems like the best fix
would require some refactoring of xodtemplate_get_inherited_string to
handle services and serviceexcalations in a special way.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkreECgACgkQ6dZ+Kt5BchahcgCgx+6WB6s0Y/ZGl5k7a1cgafcP
PSsAn18UDoImIFBwC5drAO8GvcC0gD7T
=uRsW
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference




More information about the Developers mailing list