Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On trying to save a clone.
Notice: Undefined index: #node in _i18n_node_form_node_form_alter() (line 486 of C:\Inetpub\wwwroot\123.com\sites\all\modules\contrib\i18n\i18n_node\i18n_node.module). =>
Comments
Comment #1
yatil CreditAttribution: yatil commentedSame issue here, brings the whole project to a halt O_o
What to do?
Comment #2
manos_ws CreditAttribution: manos_ws commentedme to - subscribe
Comment #3
manos_ws CreditAttribution: manos_ws commentedGrab the latest git from the http://drupalcode.org/project/node_clone.git/tree/refs/heads/7.x-1.x and it works
I have i18n rc1 and I cloned a node without any errors.
Comment #4
attiks CreditAttribution: attiks commentedDoesn't work anymore with rc2
Comment #5
attiks CreditAttribution: attiks commentedI did some more testing, if I clone and then save it's working, but whenever I try to remove a picture and then save i get:
Comment #6
clashar CreditAttribution: clashar commented+1
Comment #7
kerryman CreditAttribution: kerryman commentedI think the problem here is that there is no image to remove until you save the new clone once. The image field has been cloned but the image was not uploaded for the clone and so remove fails. I suspect if you set clone to 'save and edit' you will not get these errors.
My procedure was to clone, change all fields except images, save, edit and then remove images.
It would be nice if you could exclude specific fields from being cloned.
Comment #8
pwolanin CreditAttribution: pwolanin commentedLooks like this is outdated, or at least there is not a clear set of steps to reproduce