Currently the paradigm for returning a template that is not found is that we return an empty string. This is checked for in some cases, but not in most. We should change the Template paradigm to return an error that it could not find a Template in one of the configured retrieval impls.
We will also have to take a look at how this will affect code that calls this, as some places seem to expect a blank string and just ignore that nothing has been passed back.
Currently the paradigm for returning a template that is not found is that we return an empty string. This is checked for in some cases, but not in most. We should change the Template paradigm to return an error that it could not find a Template in one of the configured retrieval impls.
We will also have to take a look at how this will affect code that calls this, as some places seem to expect a blank string and just ignore that nothing has been passed back.