Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
filefield_validate_size() checks only 'Maximum upload size per file'.
Comment | File | Size | Author |
---|---|---|---|
#2 | filefield_total_node_size_1.patch | 1.1 KB | amitaibu |
Comments
Comment #1
dopry CreditAttribution: dopry commentedsee filefield_node_form_validate ... again read the code more closely and test your theory before making assertions.
Comment #2
amitaibuSorry, my reference to the code was incorrect, but I did check my theory before :)
Attached patch tries to solve it, as it's never executed if field isn't required.
Comment #3
dopry CreditAttribution: dopry commentedfeexed in HEED!! good catch!!