Say, for example, you have a vocab called Tags which is associated with your Blog Entry content type - however its NOT associated with the Image content type.

Now, create a blog entry and attach an image to it in file attachments using this module. You notice that the new image node is tagged with the tags from the blog entry, even though the image type is not associated with that vocab.

In itself - this isn't a MASSIVE problem until you come to submit the node again. You get several MySQL errors appear - this is likely due to the fact that this node doesn't have the "tags" vocab associated with it - however it currently has terms from that vocab associated with it.

I don't currently have time to submit a patch for this - but I imagine it should be easy enough to fix - the error is on line 185 (v1.17.2.2) and reads:

$image->taxonomy = $node->taxonomy;

You cant just throw the node's taxonomy at the image's taxonomy - you need to check vocab "permissions" first.

Comments

pomliane’s picture

Status: Active » Closed (won't fix)

This version of Upload Image is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.