I've playing around with creating date nodes from ical feeds using Feed API and I got some errors in signup when I did. The content type that I'm importing the feed items into is signup-enabled and I get an error when the nodes are created about a non-existing $node->signup_status.

This patch fixes it and shouldn't break anything else. I'm not sure what other implications there are of adding nodes via a feed to a content type that is signup-enabled, but I suppose it's mostly just avoiding assumptions that any of the values have been set.

CommentFileSizeAuthor
node_form.inc_.patch956 byteskarens

Comments

dww’s picture

Status: Needs review » Fixed

Cool, thanks. I don't have a good way to test that this entirely solves the problem you describe, but the code looks fine, and things still work in the "normal" case, so I committed to HEAD and DRUPAL-5--2.

Status: Fixed » Closed (fixed)

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