[TYPO3-core] RFC: #11258: Bug: t3lib_cache_backend_ApcBackend::set() error in exception message

Fabrizio Branca news at _REMOVETHIS_fabrizio-branca.de
Wed Jun 3 14:56:44 CEST 2009


> please re-read the list rules and then fill out the complete mail template 
> (and attach the patch)!

I'm sorry. Here it is:





This is an SVN patch request.

Type: Bugfix

Bugtracker references:
t3lib_cache_backend_ApcBackend::set() error in exception message

Branches:
trunk

Problem:
I stumbled over this:

throw new t3lib_cache_Exception(
     'Could not set value. ' . $exception->getMessage(),
  			);

which does not make much sense.

The exception message uses $exception which if not available there.

Solution:
Remove "$exception->getMessage()" from message

Bye,

Fabrizio
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: class.t3lib_cache_backend_apcbackend.php.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090603/ac20da2a/attachment-0001.txt 


More information about the TYPO3-team-core mailing list