Lack of interest Throw Error if template doesn't exist

R

ragtek

Guest
ATM xenforo shows a "empty page", if you try to use a template which doesn't exist in responseView
For example:
PHP:
 return $this->responseView('Ragtek_PC_View_Delete', 'faketemplate', $viewParams);
IMHO it would be better to show a error message, instead of the empty page (in the debug mode)

The problem is, that this would need some changes because of the json responses (that's something i don't understand => http://xenforo.com/community/threads/clean-way-for-json-responses.15784/ why do we need to use a fake template, if we don't need it for the return? )
 

Rigel Kentaurus

Well-known member
Liked, as I love when system clearly fail. An empty page can have me wondering why for hours until I realized I misspelled the template name
 
Top