6.0.0-beta1
7/4/25

[#12500] Duplicate __uid after copying a contact
Summary Duplicate __uid after copying a contact
Queue Turba
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester heinz (at) htl-steyr (dot) ac (dot) at
Created 07/25/2013 (4362 days ago)
Due
Updated 07/25/2013 (4362 days ago)
Assigned
Resolved 07/25/2013 (4362 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/25/2013 09:50:26 PM Michael Rubinsky Comment #3
Assigned to Michael Rubinsky
State ⇒ Resolved
Reply to this comment
4.1.2
07/25/2013 09:50:04 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 816913292126ef6ee463ee638872e4e09d073cf1
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Thu Jul 25 17:48:45 2013 -0400

     Don't persist the UID when copying a contact.

     Bug: 12500

  turba/lib/View/Browse.php |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/816913292126ef6ee463ee638872e4e09d073cf1
07/25/2013 09:27:16 AM heinz (at) htl-steyr (dot) ac (dot) at Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Turba
Summary ⇒ Duplicate __uid after copying a contact
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
When copying a contact, the __uid attribute is also copied

After this, you have two contacts with the save __uid.
__uid is used for documents (vfs) and history
Adding a document to the copy -> it also appears in the original

As descripted in the backend documentation, __uid should be a globally 
unique ID of the entry
so a new value for the attribute should be generated (as for adding a 
new contact)

PS:
Tested also with demo.horde.org

Saved Queries