[Tickets #6192] Re: attributes added through the hooks don't work

bugs at horde.org bugs at horde.org
Fri Feb 1 20:49:49 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/?id=6192
-----------------------------------------------------------------------
 Ticket             | 6192
 Updated By         | Michael Rubinsky <mrubinsk at horde.org>
 Summary            | attributes added through the hooks don't work
 Queue              | Whups
 Type               | Bug
-State              | Feedback
+State              | Accepted
-Priority           | 2. Medium
+Priority           | 1. Low
 Milestone          | 
 Patch              | 
 Owners             | 
-----------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2008-02-01 15:49) wrote:

Just to summerize some discussions on IRC...

The issue is that the only thing the hook does right now is to return the
definition of the Horde_Form field. It does nothing to retrieve the value
from the backend.  The driver code assumes that it does. Letting the driver
try to retrieve it won't work (at least in current code) since, the sql
driver joins the attributes_desc table in the query used to retrieve the
attribute values...and attributes added via the hook will not have an entry
in that table.  It *looks* like the intent of the hook was to be able to
add form field types other than text . If that's the case, I guess we can
work some magic somewhere and make sure that the attributes_desc entries
get created...

Marko? Any thoughts/input? 




More information about the bugs mailing list