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

Rupert Germann rupi at gmx.li
Wed Jun 3 16:01:27 CEST 2009


hi Fabrizio,

throw new corelist_Exception(
 'a clickable bugtracker link is required'
);

;-)

besides this I'd consider this as a nobrainer
+1 by reading


greets
rupert


Fabrizio Branca wrote:

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



More information about the TYPO3-team-core mailing list