From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Bug: Cloning a task also clones the unique id [6.36trans] Date: Fri, 14 May 2010 12:13:01 -0400 Message-ID: <87eiheea2a.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=46857 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCxVd-0005wV-26 for emacs-orgmode@gnu.org; Fri, 14 May 2010 12:13:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCxVb-00018W-5R for emacs-orgmode@gnu.org; Fri, 14 May 2010 12:13:08 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:63375) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCxVb-00018J-2G for emacs-orgmode@gnu.org; Fri, 14 May 2010 12:13:07 -0400 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1OCxVa-000FgM-Eh for emacs-orgmode@gnu.org; Fri, 14 May 2010 16:13:06 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ I use unique ids for my tasks (enabling org-id in org-modules) If you clone a task with a unique id by using C-c C-x c the clone has a copy of the property drawer with the same ID. This causes org-id-update-id-locations to complain about duplicate ids. Cloning a task should probably remove the :ID: property in the clone. I haven't had time to look at a fix for this but figured I should report it early anyway. ,----[ task to clone with C-c C-x C-c ] | ** test task | :PROPERTIES: | :ID: 491b47b5-3ee0-4f33-b0ee-991d4ca546f5 | :END: `---- after cloning I get two identical copies - the second one shouldn't have an ID (or should have a new unique id) Regards, Bernt Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Package: Org-mode version 6.36trans