Item9218: Checks for non-existent templates are patchy

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: CrawfordCurrie
Waiting For:
Last Change By: CrawfordCurrie
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

 

ItemTemplate edit

Summary Checks for non-existent templates are patchy
ReportedBy CrawfordCurrie
Codebase
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:701aecfde9d2 distro:87df6fc5c4ee
TargetRelease n/a
ReleasedIn
Topic revision: r1 - 29 Jun 2010, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy