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.
Some modules define validation handlers on their settings form.
Now that form['#base'] is gone, they have to explicitly declare them in $form['#validate'].
throttle, node, search and upload currently fail to do so - embarrassing esp. for node and search since the 'rebuild node access table' and 'reindex site' buttons on their forms are caught in validate handlers.
Comment | File | Size | Author |
---|---|---|---|
#1 | system_settings_form_validate_0.patch | 3.69 KB | yched |
system_settings_form_validate.patch | 3.36 KB | yched | |
Comments
Comment #1
yched CreditAttribution: yched commentedAdding a fix for
-function search_wipe_confirm_submit(&$form, $form, &$form_state) {
+function search_wipe_confirm_submit(&$form, &$form_state) {
Comment #2
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks!
Comment #3
(not verified) CreditAttribution: commented