| Summary | field using attribute and parse at the same time |
| Queue | Turba |
| Queue Version | 2.3.2 |
| Type | Bug |
| State | Assigned |
| Priority | 2. Medium |
| Owners | |
| Requester | xk3 (at) mompl (dot) org |
| Created | 10/20/2009 (1338 days ago) |
| Due | |
| Updated | 07/01/2011 (719 days ago) |
| Assigned | 07/01/2011 (719 days ago) |
| Resolved | |
| Attachments | |
| Milestone | |
| Patch | No |
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Turba
Summary ⇒ field using attribute and parse at the same time
Type ⇒ Bug
Priority ⇒ 2. Medium
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.