[Tickets #8653] field using attribute and parse at the same time
bugs at horde.org
bugs at horde.org
Tue Oct 20 16:25:48 UTC 2009
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/8653
------------------------------------------------------------------------------
Ticket | 8653
Created By | xk3 at mompl.org
Summary | field using attribute and parse at the same time
Queue | Turba
Version | 2.3.2
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
xk3 at mompl.org (2009-10-20 12:25) wrote:
using ldap backend which requires a name/cn field. 'name' is a
composite field and has attribute 'cn'. Adding a contact via turba
works fine.
However, adding a contact via add_address link in imp is broken. Such
links call the turba api with the fields 'name' and 'email', but in
function toDriverKeys 'name' is composed from empty fileds (firstname,
etc.). These fields have to be parsed from 'name' before!
In function toDriverKeys, I reordered the code for parse and attribute:
1) if there is no 'parse', create it from 'fields'
2) parse
3) then compose from fields (from $hash or $fields)
This is just a quick hack, so no diff.
More information about the bugs
mailing list