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.
If you go to admin/structure/dashboard and submit the form, you get that message twice (and the form submit handler actually runs twice).
The reason is that the dashboard module and block module share this form via hook_forms(). Previously, submit handlers were not automatically shared via that method, so the dashboard.module explicitly added the submit handler it needed. A recent core change, though, made it so the submit handler is inherited automatically, and therefore all we need to do to fix this is remove that code from the dashboard module, as in the attached patch.
Comment | File | Size | Author |
---|---|---|---|
dashboard-double-submit-handler.patch | 862 bytes | David_Rothstein | |
Comments
Comment #1
tobiasbComment #2
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.