I would like to use the event in Rules "After cloning a node" but unfortunality this does not work. (see Event "After cloning a node" by node clone module is not working).
I tried to patch the module but did not succeed.
I would like to solve this with rules with :
Event - "Node Edit on type foo" and then add some conditions.
Does anybody knows a good condition for this? What can I compare?
Are there other solution possible?
I need it for the folowing situation: the user has two options for a node: (1) Edit (2) Clone
(1) The edit option is just going to the edit form. Normal editing should be done.
(2) The clone option makes a copy of the Content Type and then starts editing in this node. Before the user is starting this editing two fields in the content type should be empty.
--- Patch log (#8)
$ patch -p1 <2212039-8.patch
patching file clone.pages.inc
Hunk #1 FAILED at 160 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file clone.pages.inc.rej
--- Patch log (#8) With option --ignore-whitespace
$ patch -p1 --ignore-whitespace <2212039-8.patch
patching file clone.pages.inc
Hunk #1 FAILED at 160 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file clone.pages.inc.rej