The body content is still inserted into the node even if the node type "Submission form settings" is set to "omit the body field for this content type"
It is impossible for the user to delete the body content without enabling the body field.

CommentFileSizeAuthor
#1 mailhandler-743572-1.patch897 bytesdanepowell

Comments

danepowell’s picture

Status: Active » Needs review
StatusFileSize
new897 bytes

I can't test this patch (conflicting modules on my dev installation that I need for another project), but I think it should do the trick...

Ian Ward’s picture

Status: Needs review » Fixed

Thanks Chris and Dane. I committed a variation of your patch, Dane. I used the api function node_get_types to load the node type and check whether is has has_body. Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.