PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Caching » Cache_Lite » Bug #6319

CACHE_LITE_ERROR_RETURN does not work for save method

Details

Submitted2005-12-22 00:35 UTC
Fromahayes at wcg dot net dot au
Assignedfab
StatusNo Feedback
PackageCache_Lite
PHP Version5.0.4
OSFedora Core 3
Roadmaps(Not assigned)

Comments

[2005-12-22 00:35 UTC] ahayes at wcg dot net dot au

Description:
------------
When setting CACHE_LITE_ERROR_RETURN as the pearErrorMode the save() method does not seem to return the error, but instead returns false.

This can be clearly seen on line 379 where it returns $this->_write($data);

If we have a look at the _write method we will see that it only returns true or false, and does not return the generated PEAR error.

[2005-12-22 17:40 UTC] fab at php dot net

which version of Cache_Lite do you use ? I think it's fixed in CVS.

[2006-01-07 11:23 UTC] fab at php dot net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

probably fixed in CVS