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)    

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


 [2004-12-13 07:50 UTC] dufuz
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on In case this was a website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.