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

Bug #1999 [PATCH] trifile container doesn't save userdata
Submitted: 2004-07-27 23:18 UTC
From: ieure at php dot net Assigned: dufuz
Status: Closed Package: Cache
PHP Version: 4.3.8 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-07-27 23:18 UTC] ieure at php dot net
Description: ------------ As the subject says, the Trifile Container never saves userdata. It uses the $userData variable when saving, but the argument is $userdata. Patch follows: Index: trifile.php =================================================================== RCS file: /cvsroot/madzap/include/PEAR/usr/lib/php4/pear/Cache/Container/trifile.php,v retrieving revision 1.1 diff -u -r1.1 trifile.php --- trifile.php 2 Apr 2004 00:04:09 -0000 1.1 +++ trifile.php 27 Jul 2004 23:08:06 -0000 @@ -110,7 +110,7 @@ if (PEAR::isError($res = $this->_saveData($this->_getExpFile($file), $expires))) { return $res; } - if(PEAR::isError($res = $this->_saveData($this->_getUDFile($file), $userData))) { + if (PEAR::isError($res = $this->_saveData($this->_getUDFile($file), $userdata))) { return $res; } Expected result: ---------------- Trifile container should save userdata. Actual result: -------------- Trifile container does not save userdata.

Comments

 [2004-12-13 07:50 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!