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  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2010-06-08 00:18 UTC
Package:
Bug Type:
Summary:
From: pear-bug at andywaite dot com
New email:
PHP Version: Package Version: OS:

 

 [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!