#22429 [NEW]: Error handling is broken in HTML_Template_ITX

From: Date: Wed, 26 Feb 2003 12:37:30 +0000
Subject: #22429 [NEW]: Error handling is broken in HTML_Template_ITX
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13910@lists.php.net to get a copy of this message
From: borz_off at cs dot msu dot su Operating system: all PHP version: 4.2.3 PHP Bug Type: PEAR related Bug description: Error handling is broken in HTML_Template_ITX require_once 'HTML/Template/ITX.php'; $tpl = new HTML_Template_ITX(); $tpl->setTemplate('{var}'); // error, no placeholder {foobar} in template $err = $tpl->addBlock('foobar', 'foobar_block', '{newvar}'); instead of returning an error object, it dies with a fatal error: Cannot instantiate non-existent class: it_error -- Edit bug report at http://bugs.php.net/?id=22429&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22429&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22429&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22429&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22429&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22429&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22429&r=support Expected behavior: http://bugs.php.net/fix.php?id=22429&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22429&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22429&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22429&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22429&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22429&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22429&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22429&r=gnused

« previous php.pear.dev (#13910) next »