[Tickets #11124] decode_attribute hook an exceptions

bugs at horde.org bugs at horde.org
Mon Apr 2 08:54:49 UTC 2012


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/11124
------------------------------------------------------------------------------
  Ticket           | 11124
  Erstellt Von     | kd at tu-cottbus.de
  Zusammenfassung  | decode_attribute hook an exceptions
  Warteschlange    | Turba
  Version          | 3.0.12
  Typ              | Enhancement
  Status           | New
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


kd at tu-cottbus.de (2012-04-02 08:54) hat geschrieben:

playing with a decode_attribute hook, i noticed, that it only works correctly,
if for each and every attribute in every source that is not handled by  
the hook,
an exception must be thrown
(at least composite fields and images are affected).
In real life only a few attributes from one source need conversion.
One possible solution would be a change in the logic of the getValue method
in Object.php (move the Hook call near the end).




kd at tu-cottbus.de (2012-04-02 08:54) hat hochgeladen: Object.php.patch

http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=Object.php.patch&ticket=11124&fn=%2FObject.php.patch





More information about the bugs mailing list