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

Bug #6782 Error Handling In Container Problem
Submitted: 2006-02-14 17:52 UTC
From: seth at pricepages dot org Assigned: dufuz
Status: Closed Package: Cache (version 1.5.4)
PHP Version: Irrelevant OS: Mac
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 35 - 22 = ?

 
 [2006-02-14 17:52 UTC] seth at pricepages dot org
Description: ------------ If an error is thrown in Container::fetch(), it is not handled in Container::preload(). Because it is immediately used in list(), a fatal error occurs. I fixed this by changing (in Container::preload()): list($this->expires, $this->cachedata, $this->userdata) = $this->fetch($id, $group); To: if(PEAR::isError($ret = $this->fetch($id, $group))){ return $ret; } list($this->expires, $this->cachedata, $this->userdata) = $ret;

Comments

 [2006-03-30 13:07 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-06-18 21:12 UTC] seth at pricepages dot org
That sounds like the problem I was having. Sorry for not replying sooner, I didn't get a email or anything that your comment had been added.
 [2008-10-07 09:04 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-10-07 09:05 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!