The validation handler added to $form does not work with 7.x-2.0-beta1 version of file_entity.

CommentFileSizeAuthor
#1 validation-handler-2356351-001.patch480 bytesWillowDigit
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

WillowDigit’s picture

Status: Active » Needs review
FileSize
480 bytes

Patch attached that moves the validation handler to the submit button. Previously it was on $form, but file_entity has added a validate function onto the submit button, and therefore the validation handler set on form is no longer called.

  • nedjo committed 70b85f6 on 7.x-1.x authored by WillowDigit
    Issue #2356351 by WillowDigit: Fixed Validation handler does not work...
nedjo’s picture

Status: Needs review » Fixed

Thanks! applied.

Status: Fixed » Closed (fixed)

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