It's a bit odd that the field isn't marked as required when it is.

CommentFileSizeAuthor
#2 image.required.2.patch615 bytessun
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joachim’s picture

Status: Active » Postponed

Hmm, turned out doing this:

'#required' => !isset($node->images),

isn't enough; it causes preview of a new image node to fail validation. Not sure this is worth the effort to figure out; postponing.

sun’s picture

Status: Postponed » Needs review
FileSize
615 bytes

So this fails when previewing?

Status: Needs review » Needs work

The last submitted patch, image.required.2.patch, failed testing.