6.0.0-beta1
7/6/25

[#6058] Move Contact to the wrong field
Summary Move Contact to the wrong field
Queue Turba
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners mrubinsk (at) horde (dot) org
Requester helmut (at) 4schiefer (dot) de
Created 12/30/2007 (6398 days ago)
Due
Updated 01/01/2008 (6396 days ago)
Assigned 12/31/2007 (6397 days ago)
Resolved 01/01/2008 (6396 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/01/2008 05:49:35 PM Jan Schneider State ⇒ Resolved
Milestone ⇒
Patch ⇒ No
 
01/01/2008 11:05:06 AM helmut (at) 4schiefer (dot) de Comment #6 Reply to this comment
Hi Michael,



I've download the new cvs Head of turba with to new version of 
Browse.php. Now it works, thanks for you great job (working for the 
horde framework and the apps)

- Helmu
12/31/2007 09:51:49 PM Michael Rubinsky Comment #5
Patch ⇒ No
Milestone ⇒
State ⇒ Feedback
Reply to this comment
12/31/2007 09:11:59 PM Michael Rubinsky Comment #4
Patch ⇒ No
Milestone ⇒
Priority ⇒ 2. Medium
State ⇒ Assigned
Assigned to Michael Rubinsky
Reply to this comment
Ah. I can reproduce it if there is *only* a last name.
12/31/2007 07:35:53 PM helmut (at) 4schiefer (dot) de Comment #3 Reply to this comment
Thanks for your reply.

Some more Information: I user mysql as the datastore and  use the 
sources.php 1.91 from the cvs. I didn't change anything in 
sources.php. My prefs are in LDAP



1) I create a new address book using turba gui.

2) I open an existing address book using turba gui

3) I select an entry of the address book and then I click  move

4) Entry moved form one address book to another.



Following are the records of the database:

Query:

select * from turba_objects where object_email like "xxx@xx.de";

Before move:

ec6fde91074aff8567c65d52bb64494c,51454a2be3707bef919bb3f592e8ceeb,        Object,20070617120112.6m2wo7h6rq0w@xx.xx.de,'',Schiefer,'',xxx@xx.de,StreetXXXX5,'',+492213555555,'','','','','','','','',https://xxx.xxx.xx/kronolith/fb.php?u=xxx        ,xxxx,Frau,Cologne,NRW,12345,'','','','','','','','','','',2001-03-15,'','','','','',Europe/Berlin,'','',''



After move:

b2e324c0f86ae9e34e386c3a5f9c5384,helmut,Object,20070617120112.6m2wo7h6rq0w@xx.xx.de        ,'','','',xxx@xx.de,StreetXXXX5,'',+492213555555,'','','','','','','','',https://xxx.xxx.xx/kronolith/fb.php?u=xxx        ,xxxx,Frau,Cologne,NRW,12345,'','','','','','','','','','',2001-03-15,'',Schiefer,'','','',Europe/Berlin        ,'','',''





Following is the conf.php from turba:

<?php

/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */

// $Horde: turba/config/conf.xml,v 1.21 2007/10/16 16:14:48 mrubinsk Exp $

$conf['menu']['import_export'] = false;

$conf['menu']['apps'] = array();

$conf['client']['addressbook'] = 'localsql';

$conf['shares']['source'] = 'localsql';

$conf['comments']['allow'] = true;

$conf['documents']['type'] = 'horde';

/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */



Following is the discribe of the table:

field        type        null        key        default        extra

object_id        varchar(32)                 PRI

owner_id        varchar(255)                 MUL

object_type    varchar(255)                          Object

object_uid        varchar(255)        YES

object_members        blob        YES

object_lastname        varchar(255)        YES        MUL

object_alias        varchar(32)        YES

object_email        varchar(255)        YES        MUL

object_homestreet        varchar(255)        YES

object_workstreet        varchar(255)        YES

object_homephone        varchar(25)        YES

object_workphone        varchar(25)        YES

object_cellphone        varchar(25)        YES

object_fax        varchar(25)        YES

object_title        varchar(255)        YES

object_company        varchar(255)        YES

object_notes        text        YES

object_pgppublickey        text        YES

object_smimepublickey        text        YES

object_freebusyurl        varchar(255)        YES

object_firstname        varchar(255)        YES        MUL

object_nameprefix        varchar(255)        YES

object_homecity        varchar(255)        YES

object_homeprovince        varchar(255)        YES

object_homepostalcode        varchar(255)        YES

object_homecountry        varchar(255)        YES

object_workcity        varchar(255)        YES

object_workprovince        varchar(255)        YES

object_workpostalcode        varchar(255)        YES

object_workcountry        varchar(255)        YES

object_pager        varchar(25)        YES

object_role        varchar(255)        YES

object_category        varchar(80)        YES

object_photo        blob        YES

object_phototype        varchar(10)        YES

object_bday        varchar(10)        YES

object_url        varchar(255)        YES

object_middlenames        varchar(255)        YES

object_namesuffix        varchar(32)        YES

object_homepob        varchar(10)        YES

object_workpob        varchar(10)        YES

object_tz        varchar(32)        YES

object_geo        varchar(255)        YES

object_logo        blob        YES

object_logotype        varchar(10)        YES



Hope this help
I cannot reproduce this.  Can you provide more information? What
sources you are moving between (what the backend for each source is)
etc...  Also, check the map array for each of these sources in
sources.php
12/31/2007 05:21:54 PM Michael Rubinsky Comment #2
Patch ⇒ No
Milestone ⇒
State ⇒ Feedback
Reply to this comment
I cannot reproduce this.  Can you provide more information? What 
sources you are moving between (what the backend for each source is) 
etc...  Also, check the map array for each of these sources in 
sources.php


12/30/2007 10:28:39 PM helmut (at) 4schiefer (dot) de Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ Turba
Summary ⇒ Move Contact to the wrong field
Type ⇒ Bug
Reply to this comment
If I move a Contact from one address book to another  address book   
the last name is moved to the middle name and the last name is blank 
after this action.



Best regards

Helmut Schiefer

Saved Queries