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.
From http://drupal.org/node/26710
When mailhandler passes content, if the node type is set to flexinode-X, but there is no corresponding ctype_id also set to X, flexinode fails to properly handle it.
If we call a flexinode function and ctype_id is not set but is needed, and type is already set to flexinode-X, make the guess and set ctype_id correctly.
something similar to what node_import already does should work:
function flexinode_node_import_static($type) {
global $user;
$type = explode('-', $type);
if ($type[0] == 'flexinode') {
// Use the current user's information for importing stories.
return array('ctype_id' => $type[1]);
}
}
Comments
Comment #1
Bèr Kessels CreditAttribution: Bèr Kessels commentedI am not sure if this can be considered a bug in flexinode, or one in mailhandler. For now, I am marking this a feature request for HEAD.
The HEAD does different typename parsing, so it can be fixed there. We dont add new features to a stable branch.