The "templateLocation" value in those cases is something like "DATARESOURCE:<id>" and that causes makeReader(...) to fail. renderTemplateFromString(...) still checks to see if a cached template exists, but if it doesn't and since it has the template string, it builds the template from the "templateString" and puts it in cashe. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576766 13f79535-47bb-0310-9956-ffa450edef68