6.0.0-beta13
4/23/26

[#8653] field using attribute and parse at the same time
Summary field using attribute and parse at the same time
Queue Turba
Queue Version Git master
Type Bug
State Assigned
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester xk3 (at) mompl (dot) org
Created 10/20/09 (6029 days ago)
Due
Updated 1/27/14 (4469 days ago)
Assigned 7/1/11 (5410 days ago)
Resolved
Github Issue Link
Github Pull Request
Milestone
Patch No

History
27.01.2014 20:09:13 xk3 (at) mompl (dot) org Comment #3 Reply to this comment
  in case this still needs to be done.
not for me anyway, as I don't use LDAP as turba backend anymore
27.01.2014 19:56:40 Michael Rubinsky Comment #2
Assigned to Jan Schneider
Version ⇒ Git master
Reply to this comment
Jan, this was "assigned" but no owner. Assigning to you, in case this 
still needs to be done.
01.07.2011 20:35:53 Jan Schneider State ⇒ Assigned
 
20.10.2009 16:25:47 xk3 (at) mompl (dot) org Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Turba
Summary ⇒ field using attribute and parse at the same time
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
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.




Saved Queries