bugfix template inheritance fail when using custom resource after patch ...

...of 8.3.2014 (Issue 187)