6.0.0-alpha14
7/2/25

[#5978] Setting of 'name' via syncML in turba.
Summary Setting of 'name' via syncML in turba.
Queue Turba
Queue Version 2.2-RC1
Type Bug
State Resolved
Priority 3. High
Owners mrubinsk (at) horde (dot) org
Requester xk3 (at) mompl (dot) org
Created 12/09/2007 (6415 days ago)
Due
Updated 12/09/2007 (6415 days ago)
Assigned 12/09/2007 (6415 days ago)
Resolved 12/09/2007 (6415 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/09/2007 05:35:27 PM Michael Rubinsky State ⇒ Resolved
 
12/09/2007 05:18:38 PM xk3 (at) mompl (dot) org Comment #3 Reply to this comment
patched against rc1 and it seems to work



thanks

Martin
12/09/2007 04:03:06 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Assigned to Michael Rubinsky
Reply to this comment
12/09/2007 02:02:15 PM xk3 (at) mompl (dot) org Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Setting of 'name' via syncML in turba.
Queue ⇒ Turba
New Attachment: ldapCN.patch Download
State ⇒ Unconfirmed
Reply to this comment
I use an LDAP backend with an obligatory "cn" assembled by "firstname 
lastname" on the fly.



'name' => array('fields' => array('firstname', 'lastname'),

                           'format' => '%s %s',

                           'attribute' => 'cn')



Adding a contact via turba works well, but adding via syncML fails 
with an object class violation. There is no $hash["name"] set, so cn 
is not created.



Why name is not set via syncML, I do not know. Some of the synced 
contacts contain FN, some not, but I thought mapped attributes are 
always created and added to source?



The attached patch only fixes the symptom.

Saved Queries