Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.3

Request #9753 Template rendering fails silently if invalid root supplied
Submitted: 2007-01-06 01:04 UTC
From: pear-bug at andywaite dot com Assigned: gregorycu
Status: Wont fix Package: HTML_Template_IT (version 1.2.1)
PHP Version: 4.4.4 OS: Mac OS X 10.4, probably others
Roadmaps: (Not assigned)    
Subscription  


 [2007-01-06 01:04 UTC] pear-bug at andywaite dot com (Andy Waite)
Description: ------------ As summary. 'badpath' refers to a path on the system which does not exist or is otherwise invalid. Test script: --------------- require_once "HTML/Template/IT.php"; $template = new HTML_Template_IT("./badpath"); $template->loadTemplatefile("test.tpl", false, true); $template->setCurrentBlock("TESTBLOCK"); $template->setVariable("TESTPLACEHOLDER", "test"); $template->parseCurrentBlock(); $template->show(); Expected result: ---------------- An error/message reporting that 'badpath' does not exist. Actual result: -------------- Template renders as blank.

Comments

 [2007-01-06 01:05 UTC] pear-bug at andywaite dot com
(correcting summary)
 [2007-12-10 14:41 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2007-12-10 15:03 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2008-01-10 08:27 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2010-03-01 17:14 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2010-06-08 00:18 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!