I'm running edit-as-new under 4.6.5 just fine. Adding these three lines copies the taxonomy of a node as well (sorry don't know how to use diff or patch yet)

function editasnew_nodeapi(&$node, $op, $teaser, $page) {
  switch ($op) {

    // if a new node is being created and it was created from the "edit as new" tab,
    // it should have a template defined and used to create this one.
    case 'validate':
      $template_nid = arg(4); // e.g. node/add/template/123
      if(arg(3) == 'template' && is_numeric($template_nid)) {
        $template_node = node_load(array('nid'=>$template_nid));
        if (module_exist("taxonomy")) {  //+
          $template_node->taxonomy = array_keys(taxonomy_node_get_terms($template_nid));  //+
        }  //+

Comments

jcarlson34’s picture

Status: Active » Closed (won't fix)

This project has had no activity for years. Therefore closing this thread to clean up d.o issue queue a bit.