[Tickets #11124] Re: decode_attribute hook an exceptions

bugs at horde.org bugs at horde.org
Tue Apr 3 08:37:12 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11124
------------------------------------------------------------------------------
  Ticket             | 11124
  Updated By         | Jan Schneider <jan at horde.org>
  Summary            | decode_attribute hook an exceptions
  Queue              | Turba
  Version            | 3.0.12
  Type               | Enhancement
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Jan Schneider <jan at horde.org> (2012-04-03 10:37) wrote:

We may want to introduce a new Exception class that is thrown to skip  
hook calls and that's not being logged in Horde::callHook().
It's still a performance degradation to throw and catch so many  
exceptions, but I don't see an alternative to reliably skip processing  
of individual attributes. Well, maybe we could return an array in  
Turba 4 instead, with a boolean as the first element, whether the hook  
has been called.





More information about the bugs mailing list