The save function saves the node, then calls the taxonomy_node_save() however this is too late for modules using the hook_nodeapi().

Case in point: imported images will not be properly updated by the tac_lite module because when the hook_nodeapi() is called the taxonomy terms have not yet been inserted for the node.

This is also a problem for the image_exact module as reported above by tayknight.

I'll mark this as a bug because I think that this module should behave as a normal node create would behave.

CommentFileSizeAuthor
#1 4.7-update.patch6.85 KBjsloan

Comments

jsloan’s picture

StatusFileSize
new6.85 KB

here is a patch that will update the image_import cvs file to 4.7.0. the $terms are added to the $node object before the node_save() function is called so that the node_invoke() and node_invoke_nodeapi() can do their thing.

tayknight’s picture

FWIW, this doesn't fix the image_exact problem.