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.
When trying to save a node with FileField populated with a file that exceeds the PHP limit, Drupal just returns to node/add
without any error messages.
This is bypassing the AJAX upload option and using PHP 5.5.3-1ubuntu2.3 (Ubuntu 13.10) and Drupal 7.26.
Ideally, there should be an error message that tells the user why they are being returned to a blank form.
Not sure if this behavior is limited to Drupal 7.
Comment | File | Size | Author |
---|---|---|---|
#1 | FailedFormSubmissionMsg-2239313.patch | 591 bytes | pmagunia |
Comments
Comment #1
pmaguniaThis behavior seems to be triggered when the function
form_builder
is not setting theprocess_input
flag inform.inc
:Hence, none of the validation code in
drupal_process_form
is executed. There is a comment inform.inc
regarding this: