Item9218: Checks for non-existent templates are patchy
Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Applies To: Engine
Component:
Branches:
In several places the templates code is called to get a template (.tmpl) definition without adequate checking on the result. There is a distinction between the result beuin ght empty string (template was found but contained no content) and undef (template was not found) that has to be respected by callers.
Failure to handle this correctly will result in various mysterious failures as the system templates can't be read.
--
CrawfordCurrie - 28 Jun 2010