emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: emacs-orgmode@gnu.org
Subject: Bug: Cloning a task also clones the unique id [6.36trans]
Date: Fri, 14 May 2010 12:13:01 -0400	[thread overview]
Message-ID: <87eiheea2a.fsf@gollum.intra.norang.ca> (raw)


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

             reply	other threads:[~2010-05-14 16:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-14 16:13 Bernt Hansen [this message]
2010-05-14 19:29 ` Bug: Cloning a task also clones the unique id [6.36trans] David Maus
2010-05-14 19:44   ` Bernt Hansen
2010-05-14 20:04     ` David Maus
2010-05-14 20:25       ` Bernt Hansen
2010-05-14 21:01         ` David Maus
2010-05-14 23:05           ` Carsten Dominik
2010-05-17 13:00             ` Giovanni Ridolfi
2010-05-17 13:26               ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eiheea2a.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).